Hi
I'm using the new HTML5 Video-Tag to play some videofootage on my page. I tried to catch the "play", "pause" and "ended"-Media-Events. Therefore i'm using the .live()-Function on the video-Tag as follows: (bind()-function cannot be used because Video-Area is loaded via AJAX)
- $('video').live('play', function()
- {
- ....
- });
This works in Firefox. But not in Chrome and Safari. So I've created the following Testpage on jsFiddle (http://jsfiddle.net/h64VB/) and found out that Chrome and Safari are only triggering the Events, when it is attached with .bind() or the native .addEventListener-Function.
Is this a bug in Jquery .live() or in WebKit-Browsers?