How to perfectly sync two or more html5 video tags?

后端 未结 3 1095
轮回少年
轮回少年 2021-02-19 11:04

Is there any way to have two or more (preferably three) html5 < video > tags playing simultaneously and to be in perfect sync.

If I have let\'s say three til

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-19 11:33

    As far as I know it's currently impossible to play HTML5 video frame-by-frame, or seek to a frame accurate time-code. The nearest seek seems to be precise to roughly 1-second.

    But you can still get pretty close using the some of the media frameworks:

    1. Popcorn.js library made for synchronizing video with content.
    2. mediagroup.js another library used to add support for mediagroup attributes on HTML5 media elements

提交回复
热议问题