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

Autopause hides custom poster image #119

Open
jannispaul opened this issue Dec 6, 2024 · 1 comment
Open

Autopause hides custom poster image #119

jannispaul opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@jannispaul
Copy link

When the autopause attribute is applied to the component, the custom poster image flashes briefly but then disappears without any user interaction. It took me some time to figure out the cause, so I believe it would be helpful to at least document this behavior.

Thanks for building this awesome component—it's greatly appreciated!

@justinribeiro justinribeiro self-assigned this Dec 6, 2024
@justinribeiro justinribeiro added the documentation Improvements or additions to documentation label Dec 6, 2024
@justinribeiro
Copy link
Owner

Auto-pause relies on the Intersection Observer, which is why the custom poster hides (because the iframe loads and then binds to the postMessage for pause controls. Will update docs for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants