I ran into this problem a couple of times: Seeking through videos within the video.js player is possible in any browser except chrome. That means, clicking on the progress bar won't change the current position of the video.
Asked
Active
Viewed 3,641 times
2 Answers
8
In my case, the problem was the server delivering the video with the HTTP status Code OK (200)
. Instead, it should return Partial Content (206)
.
To check whether the server is the problem, embed the test video as in the online example on videojs.com, i.e. load the Disney video from http://video-js.zencoder.com/oceans-clip.mp4 instead of your own server.

sk904861
- 1,247
- 1
- 14
- 31
-
The simple idea of using the link to the example video is actually super helpful, thank you. – Avatar Jul 01 '15 at 09:26
-
Is that all that is required? Just change the status code to 206? – vbNewbie Feb 13 '18 at 09:59
-
@vbNewbie, I can only tell you that in my case it was. – sk904861 Feb 13 '18 at 13:29
-
@sk904861, one more thing sorry. The video stream being served by your server, is it as a full stream or in partial byte ranges? – vbNewbie Feb 14 '18 at 08:00
-
I'm sorry, this was more than four years ago and I'm not aware of the details anymore. – sk904861 Feb 14 '18 at 11:30
-
this helped A LOT. it also helped me understand more on inner working of said standard – Alex Jul 21 '21 at 09:24
5
In Chrome it is browser issue.
THe chrome browser buffering the video before we set the current time .. But firefox and IE are not buffering when page loads.
So we can set the currentTime(10).

sambatha
- 159
- 1
- 12