允许在视频中添加字幕 - HTML

Allowing Captions in Videos - HTML

我的站点使用指向使用 Kaltura 视频播放器的视频的链接。在 Kaltura 一侧,会出现视频的字幕。但是,在 HTML 端,当站点为 运行 时,标题不会出现。我可以在 HTML 中的这些视频链接中添加标签或其他内容以允许显示字幕吗?

<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...

然后继续....