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

Captions not working in Google Chrome


I have 7.8.7 and I can't seem to get the captions to show up in Chrome or Firefox it is serving the Flash player. I have a flv and a m3u8 available. Can anyone help me or help me force the player to go html5?

My code is:

jwplayer('live_player').setup({
playlist: [{
file : url.replace(/\\\//gi, '/'),
image : poster,
tracks: [{
file: url.replace(/\\\//gi, '/'),
label: "CC",
kind: "captions",
"default": true
}]
}],
autostart : true,
key : 'xxx',
});

3 Community Answers

Randy

JW Player Support Agent  
0 rated :

Hello,

I would like to look into this issue for you. Can you potentially provide me a sample of your page via a link with no external elements or CSS so I can review this? This provides me a clearer idea of what could be causing the issue from a JW Player embed perspective. I’ve also included a link on how to submit a reproduction page to our support team that may be useful as well: https://support.jwplayer.com/customer/en/portal/articles/2186238-troubleshooting-%E2%80%94-creating-a-reproduction-page

Randy

j...

User  
0 rated :

Randy,

Thanks for your offer to help. The problem is that this is in a local development page and it is spread across a few different files within a WordPress plugin. It is a pretty gnarly mess. The thing is, I can see the stream across browsers and the native captions are playing perfectly in Safari. But Chrome and Firefox won't display them and I can't figure out the correct way to get them to show up. I always get the error that CAPTIONS file can't be loaded.

Thanks!

Randy

JW Player Support Agent  
0 rated :

Hello,

I understand. Are you potentially seeing this error message in the console window? Perhaps there is some indication stating that the URL is not accessible? Are you maybe loading these captions via VTT captions and the player is encountering a crossdomain.xml error: http://support.jwplayer.com/customer/portal/articles/1403679-crossdomain-file-loading.

Kindly,

Randy Lemoine
Primary Support Engineer
JW Player Support Team
www.jwplayer.com

This question has received the maximum number of answers.