Video.js: How play video from given start time and end with given end time.

Created on 10 Sep 2015  路  4Comments  路  Source: videojs/video.js

I have a video url (http://video-js.zencoder.com/oceans-clip.mp4#t=14,20) in which start time and end time for playback. and when i play this url in videojs player then seekbar already seeked upto 14 sec and play onward.I want that player should understand 14 as initail point and end with 20 sec.it should seem like video is only 6 sec duration video.

Please tell me how can i do it.

Most helpful comment

I created a plugin to solve that use case. Check it out here: videojs-offset

All 4 comments

I created a plugin to solve that use case. Check it out here: videojs-offset

@cladera Nice! Saw this one on the plugins list but hadn't actually checked it out.

@cladera Thanks!

@cladera It fails in case of greater start time

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheKassaK picture TheKassaK  路  3Comments

jeonghwaYoo picture jeonghwaYoo  路  3Comments

gfviegas picture gfviegas  路  3Comments

d3x7r0 picture d3x7r0  路  4Comments

uikoo9 picture uikoo9  路  4Comments