I'm trying to use Youtube chromeless player through the JS API and I'm having problems with seekto() function.
The problem is that sometimes (I can't tell when the problem arises), calling seekTo() function backwards to a point in the video that is not loaded don't come back and instead stays in the current time.
This is what I do (imagine the video is 240 seconds length):
So, is anyone else having this issue?
Posting some code will help us to help you, but have you tried player.seekTo(60, true);
- the second parameter is important - setting it to true will make the player send a new request to the server for the video.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With