hello hypesters…
is there a best way to set a video back to start after playing ?
I try several ways but can’t make it !
merci !
f e w
hello hypesters…
is there a best way to set a video back to start after playing ?
I try several ways but can’t make it !
merci !
f e w
add an id id to your video and run
hypeDocument.getElementById("yourID").currentTime = 0;
thank you very much sir !
is there a list of possible commands ? (like .currentTime = 0;) somewhere ?
just to play around…
merci !
Here’s a list of available commands: https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement & https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement (for the video element specifically)
Thanks daniel !