字幕格式有什么问题?(Video.js)

时间:2018-01-27 15:30:59

标签: javascript video.js srt

video.js说解析.srt字幕文件时出错,这里是内容:

1
00:01:14,909 --> 00:01:16,999
WOMAN 1:
Well, my dad was a farmer.

2
00:01:18,162 --> 00:01:20,622
Um, like everybody else back then.

3
00:01:22,750 --> 00:01:24,920
Of course, he didn't start that way.

4
00:01:25,503 --> 00:01:27,463
[DISTANT RUMBLING]

5
00:01:30,008 --> 00:01:31,048
[ALARM BEEPING]

6
00:01:31,217 --> 00:01:33,137
MAN [OVER RADIO]:
Computer says you're too tight.

7
00:01:33,303 --> 00:01:35,853
- Nah, I got this.
- Crossing the Straights.

8
00:01:38,266 --> 00:01:40,016
- Shutting it down, Cooper.
- No!

9
00:01:41,519 --> 00:01:43,939
- Shutting it all down.
-No, I need power up!

10
00:01:46,691 --> 00:01:47,941
[COOPER YELLS]

11
00:01:48,276 --> 00:01:49,316
GIRL:
Dad?

据我所知它是有效的,是吗?或者有办法检查它的有效性吗? 或者为什么video.js说有一些错误,在谷歌找不到这方面的很多信息

1 个答案:

答案 0 :(得分:2)

问题在于它是SRT格式。 Video.js支持WebVTT。