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

Captions disappearing after


I noticed an issue while working on jwplayer v 7.8.7. It appears that tracks are being reset upon replaying a video.

more in depth info of what I am seeing is this:
the jwplayer setup config object contains a playlist containing multiple resolutions (in dash format for streaming) and a captions track (in either xml or vtt format)
when playing begins both the video and captions are working fine and work fine through the entire playback.
however after playback after hitting the play again button the captions button disappears and does not reappear on multiple replays.

Other info:
the only things in the config are "stretching": "uniform" the playlist containing only the three resolutions of video and the one captions track in the following format:
{
"stretching": "uniform",
"playlist": [
{
"sources": [
{
"file": "DASHURL_HIGH",
"dash": true
},
{
"file": "DASHURL_MED",
"dash": true
},
{
"file": "DASHURL_LOW",
"dash": true
}
],
"tracks": [
{
"file": "CAPTIONS_URL",
"label": "English",
"kind": "captions",
"default": false
}
]
}
]
}

after hitting the replay button the 'captionsList' event does fire and the list only contains the default off option for the captions

7 Community Answers

Todd

JW Player Support Agent  
0 rated :

Version 7.8.7 is a few iterations out of date. Does the same thing happen in 7.10.5.?

I just tested a DASH stream with VTT captions as well. The captions are appearing for me. Can you provide a link to your test page? And do you see the same behavior if your DASH manifest contains all three representations?

j...

User  
0 rated :

I am able to replicate the issue with 7.10.5,

To note it is not that the captions are not available while playing it is that the become no longer available if the video is replayed

I am also able to replicate using a single DASH manifest

I will put together a testpage shortly

j...

User  
0 rated :

Here is a link to the testpage: https://jsfiddle.net/jmlundcengage/Ld4uw9ex/

few things of note,
you do need to provide a library and a key
and although the captions have a security error they do still appear as an option until after restarting, which is the issue. Feel free to provide captions served over https if you would like to test in the jsfiddle directly

I tested in this using both v7.8.7 and v7.10.5

Todd

JW Player Support Agent  
0 rated :

Thanks for the reproduction page. I am now able to reproduce the issue on my side with our test content, so I will be escalating this as a bug to our engineering team.

I will update the thread when I get their feedback.

Jake Lund

User  
0 rated :

Has there been an update to this?

Todd

JW Player Support Agent  
0 rated :

The bug report was accepted but there has not been any movement yet. I did ask for this to be prioritized as it impacts any customer that is adding VTT captions on a DASH stream, so hopefully they will look at it soon.

Todd

JW Player Support Agent  
0 rated :

Looks like the engineers have slated 7.11.1 as the version that will include a fix for this.

This question has received the maximum number of answers.