Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

VTT Not working for single entry


When I configure the player to point to a vtt file with a single entry I receive a javascript "uncaught exception" error. If I have two or more entries it works fine. Can you verify if this is a bug?

Config:

tracks: [{
file:'/path/to/file.vtt',
kind:'chapters'
}],


VTT file:

WEBVTT

00:00:05.000 --> 00:00:6.000
Test Chapter Name

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

Hi,

I created a VTT file with only one chapter, but my video is still playing without an error (but the chapter is not indicated on the timeline). I do see, however, an object error in the browser console. Is the video playing successfully for you?

Thanks for bringing this to our attention. The workaround would be to create a second chapter entry. And I have to ask, if the video was short enough to only have one chapter, is it short enough to have not have a chapter at all?

Kind regards,
Todd

This question has received the maximum number of answers.