Similar to the kitchensink demo, I have successfully used jqtouch to call external .html pages into the index page. One of these external pages contains a video that is being played using sublime player. Everything is pretty basic so far, but my challenge is to make sure that the javascript code within the new .html page runs the video smoothly.
Here's the code on my index page for pulling in the new page using ajax:
<li class="arrow"><a href="videopage.html">play the video</a><small class="counter">2</small></li></li>
And in the videopage.html file, I have this script:
<script type="text/javascript" src="http://cdn.sublimevideo.net/js/pagbioaz.js"></script>
I will be incorporating multiple videos - is there a way to automatically handle them all? Or is there something I can do on the index page to ensure smooth playback?
Any suggestions are appreciated!