Unable to exit video player if remote trailer is unavailable
Describe The Bug
When trying to play a remote trailer on YT which is unavailable - for example because it's age restricted or unavailable in the country - one is unable to navigate back with the back button or alt+left-arrow-key. One is stuck on this page until refreshing the page.
Steps To Reproduce
- Start a Trailer which is unavailable (eg . The Wire)
- Page is stuck, navigation doesn't work
- One has to refresh the page
Expected Behavior Navigation to work normally
Logs There aren't logs in the browser console nor stdout.
System (please complete the following information):
- Platform: Irrelevant
- Browser: Chromium-based, Firefox
- Jellyfin Version: know to exist on >10.7
For some reason, the embedded YT player doesn't throw any error (doesn't call onError) if the video is blocked by region or age.
I noticed that playerState (in onReady) is -1 if the video is blocked, and - 5 if it is OK. Not sure if we can use that.
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.