Skip to content

Fix: Restore black screen when video ends and endscreen is hidden (#3838)#3841

Open
SaishWadnere wants to merge 1 commit into
code-charity:masterfrom
SaishWadnere:fix-black-screen-endscreen
Open

Fix: Restore black screen when video ends and endscreen is hidden (#3838)#3841
SaishWadnere wants to merge 1 commit into
code-charity:masterfrom
SaishWadnere:fix-black-screen-endscreen

Conversation

@SaishWadnere
Copy link
Copy Markdown

Fixes #3838

Changes Made

Added a CSS rule in appearance/player/player.css to apply visibility: hidden !important; to .html5-main-video when the player receives the .ended-mode class and it-player-hide-endscreen is true.

Testing

Turn on the "Hide endscreen" option in ImprovedTube settings.
Watch a video to the very end.
If Autoplay is enabled, press Escape to cancel the "Up Next" countdown.
Verify that the player background is completely black rather than frozen on the last frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐞End of video black screen problem

1 participant