开发者

Generating graphical timeline in javascript/jquery

开发者 https://www.devze.com 2023-03-31 23:07 出处:网络
Let\'s say I can fetch a total time of an certain video in seconds. I can also get the starting times of sub-events in that video.

Let's say I can fetch a total time of an certain video in seconds. I can also get the starting times of sub-events in that video.

Is there a way to output some kind of timeline with sub-events arranged by their starting times respectively to the end time of the video?

The sub-events should also be linked to the video in such way that when I click on them, video would jump on beginning of that sub-event.

Basically, I would like to hide the timeline of html5 video, and stick a new dyn开发者_Python百科amically generated one under the video with few selected events to navigate through, with no slider, just click (for example a tennis match with set and game timeline instead of min:sec timeline).

I'm using video in html5 and javascript.


Well you can user this jquery plungin for timeline. Would look cool.

And for jumping you can read here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号