Set the starting time in seconds #2698
Replies: 1 comment
-
I found the solution. Simply at the level of the source src="URL-to-source.mp4#t=20" type="video/mp4" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I need to modify my code so that the video will start at a given time, for instance at 30 seconds. I tried this, with no effect:
player.on('ready', function() {
player.currentTime = 30; // Set the desired starting time in seconds
});
player.seek(20) also didn't work…
Checking on Chrome and FireFox.
Any suggestion?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions