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

No load or error event for <video poster> #8445

Open
zcorpan opened this issue Oct 27, 2022 · 0 comments
Open

No load or error event for <video poster> #8445

zcorpan opened this issue Oct 27, 2022 · 0 comments
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: media

Comments

@zcorpan
Copy link
Member

zcorpan commented Oct 27, 2022

While writing tests for #8428 I needed to use ResizeObserver to detect when the poster image is loaded, because there are no events fired for the poster image being loaded or failing to load.

If you specify the correct dimensions with <video width height> then it's not possible to use ResizeObserver, either.

Would it be useful for web developers to have events here? e.g. posterload and postererror.

cc @whatwg/media

@zcorpan zcorpan added addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: media labels Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements needs implementer interest Moving the issue forward requires implementers to express interest topic: media
Development

No branches or pull requests

1 participant