I am trying to use the colorless Youtube player through the JS API and I am having problems with the seekto () function.
The problem is that sometimes (I canβt say when the problem occurs), calling the seekTo () function back to the point in the unloaded video does not return and instead remains at the current time.
This is what I do (imagine a video lasts 240 seconds):
- I am launching a video -> loadVideoById ().
- I move forward (letβs say) to the middle of the video β seekTo (120)
- The video automatically goes to the position that I set.
- I try to go back up to 25% of the time of the video β seekTo (60)
- Sometimes a video returns to 60, but more often it only returns to 120.
So, does anyone else have this problem?
javascript youtube-javascript-api
Paquitosoft
source share