video component doesnt support media events
for what media events there a good place might be http://www.w3schools.com/tags/ref_eventattributes.asp under media events.
In particular events like oncanplay, oncanplaythrough, and ondurationchange.
just a note, it seems that most if not all media events dont bubble
Kind of related #2094
Yep - audio and video components are essentially unsupported in react. You will need to grab the DOM node and do everything manually. I haven't been able to get anyone to care about this oversight and it doesn't look like it will be fixed anytime soon
@contra If you someone cares enough to submit a PR it will surely be accepted. :) The React team is currently more focused on getting React core stable I would say, most DOM fixes are by the community AFAIK. I could look into it some time but I've been busy elsewhere lately.
No worries, it isn't as big of an issue as I originally thought once I realized I could just set my own listeners on componentDidMount and remove on componentWillUnmount. Keep up the good work.
On Thursday, February 26, 2015, Andreas Svensson [email protected] wrote:
@contra https://github.com/contra If you someone cares enough to submit a PR it will surely be accepted. :) The React team is currently more focused on getting React core stable I would say, most DOM fixes are by the community AFAIK. I could look into it some time but I've been busy elsewhere lately.
— Reply to this email directly or view it on GitHub https://github.com/facebook/react/issues/2182#issuecomment-76151476.
Just came across this thread. Audio & Video components are now supported. See here: https://facebook.github.io/react/docs/events.html
Yes, these were added in 0.14.