Working on an iPad app where I'm calling a video with an HTML5 tag as seen below. The video is set to start upon page load. Question is, I want to have the video stop automatically about 90% of the way through the video. Is there a way using HTML 5 or even Javascript to automatically stop a video at a certain point or after a specific percentage of the video has already played?? Thanks in advance....
<video name="vid2" id="vid2" style="width:1024px; height:550px" loop poster="images/postervid.png" autoplay="autoplay">
<source src="videos/testvideo.mp4" preload="auto" />
</video>
Bookmarks