I'm creating page that contains multiple videos. Each one in a hidden div. A simple playlist won't work because I have a lot of text and other HTML elements specifically associated with each video.
When a div containing a video is displayed I need the video in the previous (now hidden) div to stop playing. On a desktop browser I do this using Javascript code that looks like this:
jwplayer('botr_inserttheplayeridhere_swf').stop();
This doesn't work on the iPad, which is using the HTML5 player. Is there anyway to stop the video in a similar fashion for the HTML5 player?
I'm afraid that the player API doesn't work for the HTML5 fallback yet. I think the best solution right now might be to use the iFrame embeds indeed, and when you switch player, instead of unhiding divs, you would change the iframe src to a new embed code.