We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Might need to mix it up a bit
The text was updated successfully, but these errors were encountered:
The "Ad blockers violate YouTube's Terms of Service" overlay is displayed here
The player is hidden by this rule:
The video itself is hidden by moving it off-screen using top:
top
If we…
#error-screen
ytd-enforcement-message-view-model
#movie_player
video
top: 0
…the video will start playing.
While testing these steps manually, it took multiple clicks for the video to successfully play.
This is what's happening to the DOM when I click on the video 3 times with the following styles applied:
ytd-watch-flexy[player-unavailable] #error-screen:has(ytd-enforcement-message-view-model) { display: none; } ytd-watch-flexy[player-unavailable]:has(#error-screen ytd-enforcement-message-view-model) #player-container-outer.ytd-watch-flexy { visibility: visible; } ytd-watch-flexy[player-unavailable]:has(#error-screen ytd-enforcement-message-view-model) #movie_player video { top: 0 !important; }
Sorry, something went wrong.
The player itself isn't hidden in theater mode, but the video is still positioned off-screen
Showing and clicking the video element still eventually forces it to play (took me 5 clicks on the first attempt)
No branches or pull requests
Might need to mix it up a bit
The text was updated successfully, but these errors were encountered: