我的网站使用指向使用 Kaltura 视频播放器的视频的链接。在 Kaltura 一侧,出现了视频的字幕。但是,在 HTML 方面,当网站运行时,标题不会出现。是否有可以添加到 HTML 中的这些视频链接的标签或其他内容以允许显示字幕?
问问题
83 次
1 回答
1
<video width="360" height="203" id="captionvideo" controls="controls">
<source src="myvideo.mp4" type="video/mp4">
<source src="myvideo.webm" type="video/webm">
<track kind="subtitles" src="mymovidecatpion.srt" srclang="en" ></track>
</video>
和你的 .srt 文件...
0
00:00:00,1 --> 00:00:04
Caption line goes here
1
00:00:04 --> 00:00:07
Browser shall obey me! HAHAHAHA
2
00:00:07 --> 00:00:10
Of course, we are so important because we help people understand TV in words.
3
00:00:10 --> 00:00:12
and is very educational for everybody anyways...
并继续......
于 2015-07-25T21:05:17.167 回答