Xavier-Do a928b12c44 Fix white background on video refresh
When refreshing a /video page, since no player is available,
`getCurrentPlayer` will be empty and `bindToPlayer` will crash leading
to a redirect with `appRouter.goHome();`
This is also the case when navigating with previous then next in the
browser.

Before that that, the background is set in `viewbeforeshow` using
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);`

This will leave unexpected classes in the dom leading to a white
background on the main page.

This fixes proposes to reset the transparency before going to home
using `setBackdropTransparency(TRANSPARENCY_LEVEL.None);`
Anyway, this looks a little fragile and a deeper fix may be preferable
in the future.

Another solution would be to move the
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);` when the player is
ready but my understanding of the flow is not enough to now if it would
have any unexpected results.
2023-05-09 17:03:14 +02:00
2023-03-10 12:32:06 -05:00
2023-03-10 12:32:06 -05:00
2023-03-10 12:32:06 -05:00
2023-05-09 17:03:14 +02:00
2021-12-13 13:01:48 -05:00
2020-07-21 20:19:44 +02:00
2023-03-16 15:42:44 +01:00
2020-08-06 20:59:14 +02:00
2019-09-19 14:35:30 -04:00
2022-09-30 01:20:49 -04:00
2021-10-27 00:19:44 -04:00
2023-03-15 12:50:02 +01:00
2021-12-13 13:01:48 -05:00
2022-10-08 23:45:54 +03:00
2019-01-09 12:36:54 +01:00
2023-03-29 00:38:22 -04:00
2023-04-28 01:24:37 -04:00
2022-09-29 13:11:56 -04:00

Jellyfin Web

Part of the Jellyfin Project


Logo Banner

GPL 2.0 License Current Release Translation Status
Donate Feature Requests Chat on Matrix Join our Subreddit

Jellyfin Web is the frontend used for most of the clients available for end users, such as desktop browsers, Android, and iOS. We welcome all contributions and pull requests! If you have a larger feature in mind please open an issue so we can discuss the implementation before you start. Translations can be improved very easily from our Weblate instance. Look through the following graphic to see if your native language could use some work!

Detailed Translation Status

Build Process

Dependencies

  • Node.js
  • npm (included in Node.js)

Getting Started

  1. Clone or download this repository.

    git clone https://github.com/jellyfin/jellyfin-web.git
    cd jellyfin-web
    
  2. Install build dependencies in the project directory.

    npm install
    
  3. Run the web client with webpack for local development.

    npm start
    
  4. Build the client with sourcemaps available.

    npm run build:development
    

Directory Structure

.
└── src
    ├── apps
    │   ├── experimental  # New experimental app layout
    │   └── stable        # Classic (stable) app layout
    ├── assets            # Static assets
    ├── components        # Higher order visual components and React components
    ├── controllers       # Legacy page views and controllers 🧹
    ├── elements          # Basic webcomponents and React wrappers 🧹
    ├── hooks             # Custom React hooks
    ├── legacy            # Polyfills for legacy browsers
    ├── libraries         # Third party libraries 🧹
    ├── plugins           # Client plugins
    ├── routes            # React routes/pages
    ├── scripts           # Random assortment of visual components and utilities 🐉
    ├── strings           # Translation files
    ├── styles            # Common app Sass stylesheets
    ├── themes            # CSS themes
    ├── types             # Common TypeScript interfaces/types
    └── utils             # Utility functions
  • 🧹 — Needs cleanup
  • 🐉 — Serious mess (Here be dragons)
S
Description
No description provided
Readme GPL-2.0 208 MiB
Languages
JavaScript 44.6%
TypeScript 27.4%
SCSS 23.4%
HTML 4.5%