I'm using timesheets.js and want to play a HTML5 video when the slider is active.
I'm using this code:
video = document.getElementById('v_'+element.id)
video.currentTime = 0;
If I'm not using "video.currentTime = 0;
it works most of the time (except when videos are too long). I have to reset the video so it plays from the beginning. Now it resets the video, but it doesn't play. Any ideas?