您好,我想看一个带有 html5 字幕“.srt”的视频。 我可以用 JavaScript 做什么?
最佳答案
在谷歌中获得 3 个第一名;查询:“html5视频字幕”(资料很多):
- http://www.storiesinflight.com/js_videosub/index.html
- http://blog.gingertech.net/2008/12/12/attaching-subtitles-to-html5-video/
- http://www.bluishcoder.co.nz/2008/12/srt-subtitles-with-html5-video.html
如果您使用的是 jQuery,那么选择 jQuery.srt 似乎不错。
关于javascript - 播放带字幕的视频,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5732097/