-
Notifications
You must be signed in to change notification settings - Fork 47k
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
<source onError={callback}> doesn't work #5839
Comments
Do these error events bubble? We might have to attach listeners directly if not (which is what we do for the video & audio elements) |
@zpao They don't bubble, so attaching listeners directly seems like the proper way. |
Great, and does source have any other events? My quick research only shows error but I suspect load is there as well and probably has the same non-bubbling (basically the same as an img element). I'll try to do some testing but any pointers to specs and whatnot would be helpful. |
Hey, guys! This should add onError to the |
It should, but in fact, it does not support |
The error event on
<source>
elements doesn't work. Looking at #4370, it seems like there is anonError
for<video>
but I can't tell if that's supposed to work for<source>
too.The error event is useful so I can deduce which format the browser is using.
The text was updated successfully, but these errors were encountered: