-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
video elements fire 'error' event even when successfully assigning to video.src #22
Comments
I don't see any way to prevent that "error" event. If the user sets a event listener for the "error" event in a Said that, it should be documented so I will do it on next days and leave this issue open until done. |
Could it be possible to attach the addEventListener for on 'error' when we capture the src attribute change, and then on the event handler remove it and prevent event propagation? |
It's being coded right now. |
Version 1.3.1 published with this improvement. |
Can we find a way to intercept and swallow the 'error' event that the
repro:
The output will be:
I only expect:
The text was updated successfully, but these errors were encountered: