jellyfish-web/src/controllers
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
..
dashboard Fix prefer for-of errors 2023-05-04 13:07:12 -04:00
itemDetails Move remaining router components 2023-05-02 16:40:31 -04:00
livetv Fix eslint issues 2023-03-29 00:38:22 -04:00
movies Move remaining router components 2023-05-02 16:40:31 -04:00
music Fix indentation issues 2023-04-19 01:56:05 -04:00
playback Fix white background on video refresh 2023-05-09 17:03:14 +02:00
session Fix prefer for-of errors 2023-05-04 13:07:12 -04:00
shows Move remaining router components 2023-05-02 16:40:31 -04:00
user Use react user pages in stable app 2023-05-02 16:40:32 -04:00
wizard cleanup: reorganized sass files to be in src/styles instead of src/assets/css 2023-02-26 01:01:31 +02:00
edititemmetadata.html Move HTML files to the proper locations 2020-08-08 03:34:21 +02:00
edititemmetadata.js Remove unused variables 2021-03-23 11:28:16 -04:00
favorites.js Move remaining router components 2023-05-02 16:40:31 -04:00
home.html revert asyncRoutes to legacyRoutes 2023-04-10 22:58:14 +03:00
home.js revert asyncRoutes to legacyRoutes 2023-04-10 22:58:14 +03:00
hometab.js Add error catching when loading home screen tab 2022-04-04 14:42:03 -04:00
list.html Add title to buttons 2022-03-03 17:19:27 +03:00
list.js Fix indentation issues 2023-04-19 01:56:05 -04:00
livetv.html Remove hash bang paths 2022-06-09 14:54:39 -04:00
livetvguideprovider.html Move HTML files to the proper locations 2020-08-08 03:34:21 +02:00
livetvguideprovider.js Fix eslint issues 2023-03-29 00:38:22 -04:00
livetvsettings.html DVR: Add options to disable NFO and image saving 2022-11-19 15:23:31 -06:00
livetvsettings.js Fix eslint issues 2023-03-29 00:38:22 -04:00
livetvstatus.html Update all documentation links to new website 2022-10-22 13:23:04 +02:00
livetvstatus.js Fix eslint issues 2023-03-29 00:38:22 -04:00
livetvtuner.html Update all documentation links to new website 2022-10-22 13:23:04 +02:00
livetvtuner.js Fix eslint issues 2023-03-29 00:38:22 -04:00