You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't see any way to prevent that "error" event. If the user sets a event listener for the "error" event in a <video> element there is little the library/plugin can do to avoid it. In fact, the video element may be later used for rendering a remote video via a HTTP URL, so I prefer not to generate conflict with the element normal behavior.
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?
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: