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

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -