
Is it possible to load chapter markers dynamically?
I'd like to create the marker list dynamically and load it via the api (I have thousands of files, and physical VTTs aren't an option). This doesn't work, but it's similar to what I want to achieve:
jwplayer().load([{
file: videoFile,
tracks: [{
file:
"1\n00:00:01,000 --> 00:00:02,000\n" +
"Opening credits\n\n" +
"2\n00:00:03,000 --> 00:00:04,000\n" +
"A dangerous quest\n\n" +
"3\n00:00:05,000 --> 00:00:06,000\n" +
"The attack\n",
kind: "chapters"
}]
}]);