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

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -