Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Seeking in video.js player not possible in Chrome

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.

like image 573
sk904861 Avatar asked Jan 17 '14 14:01

sk904861


2 Answers

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.

like image 184
sk904861 Avatar answered Nov 18 '22 01:11

sk904861


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).

like image 5
sambatha Avatar answered Nov 18 '22 01:11

sambatha