javascript - Html5 video Playlist won't work. Also how do I get it to loop through the two items after each complete -
After clicking the user clicks, I try to play a clip in one continuous loop after the other trying to get the video player I am here. Even I have so far
code:
Var Videoplayer = document.getElementById ('Video'); VideoPlayer.onend = function () {videoPlayer.src = "http://www.mp4point.com/downloads/8feeca1a540b.mp4"; } JSField:
This works:
var video player = document.getElementById ('video'); VideoPlayer.addEventListener ('Finished', function () {this.pause (); this.src = "http://www.mp4point.com/downloads/8feeca1a540b.mp4";}, false); Updated wired:
Comments
Post a Comment