我的视频和webvtt字幕未同步。是否有一种JavaScript方法来管理html5原生播放器中的webvtt字幕同步/延迟/偏移?
我找到了这个lib(https://github.com/florinn/vtt-shift),但它重写了磁盘上的webvtt文件。我更喜欢以客户端方式重新同步视频。
<video>
<source class="videosource" src="{{media}}?play=true" type="video/mp4"/>
<track kind="subtitles" label="Default" src="{{subtitle}}" default>
</video>
&#13;