Reputation: 15
I've got VideoJS working beautifully, except for the chapters function.
I'm just using the demo.html
that came with the JS package. Edited it to include my mp4, and subtitle and chapter VTT files.
Subtitles work great, but when I set the chapter track to default="default"
(as is necessary to enable it), the video control bar disappears.
Suggestions?
My VTT syntax seems to be correct:
WEBVTT
1
00:00:00 --> 00:00:22
Chapter 1
2
00:00:22 --> 00:00:30
Short chapter
3
00:00:30 --> 00:00:45
Finale
I've seen a few folks with the same issue in the last month, all unresolved.
One post from July 2012 has chapters working - if anyone has a link to the old VideoJS version that may have been used at that time, I'd love to try it.
Upvotes: 0
Views: 1328
Reputation: 2156
Chapters support isn't available in Video.js 4 quite yet (hopefully soon!), but you can still use version 3.2 from the CDN.
Be aware that Video.js 3.2 is unsupported at this point.
Upvotes: 0