Skip to content
New issue

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

Vanilla Video: Fix blank video on pause in Safari #1384

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

marcustyphoon
Copy link
Collaborator

Description

I don't know why this works. Someone please help.

This fixes an issue where, in Safari, pausing a video with Vanilla Videos on causes it to go white (or, if popped out, black). It does so by adjusting the DOM position of the Vanilla Videos video element one higher (outside the videoContainer element). Are there listeners on that element which do something weird? I have no idea.

Testing steps

  • Confirm that Vanilla Video works as expected in Chromium and Firefox. (I did test Chromium; I did not Firefox.)

@marcustyphoon
Copy link
Collaborator Author

Seems like even this doesn't completely solve the problem if Cleanfeed is affecting the video in question as well?

@marcustyphoon marcustyphoon marked this pull request as draft May 10, 2024 20:19
@marcustyphoon
Copy link
Collaborator Author

Nope, it's definitely something more than just this.

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.

1 participant