javascript - Starting HTML5 movie over without video.load() -
i want write code seemlessly restart html5 movie.
this works: video.load(); video.play();
...except video takes half second load, doesn't work project. how can put play position @ 0 on existing, currently-loaded video?
this doesn't work: video.currenttime = 0; video.play()
...for reason doesn't play, stays frozen.
Comments
Post a Comment