Hi --
I can successfully trap the "ended" event in an HTML5 video like so: onended="do_ended()"
And in that function, I can make a playlist that works on desktop Chrome and Safari (yes, also with jQuery and AJAX):
function do_ended() { $.get("/nextclip.php",{'id':video_id},function(data){ $("#html5_screen").html('<source src="'+data+'" type="video/mp4" />'); $("#html5_screen")[0].load(); $("#html5_screen")[0].play(); }); }
But, this seems to fail in iPhone and iPad. Does anyone have a working example? Thanks!