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

Some YouTube html 5 bugs


Hi,
I found some bugs in 6.9 version.
This is the example page: http://jsfiddle.net/UAR3U/25/show/
The player load YouTube video with yt:cc=on which means captions from YouTube will load by default via their iframe, and also some captions to show the problem.
1. In Chrome browser there isn't any problem, But, If you play this video in other browsers like Firefox, IE10 and in chrome mobile (That's all browser i have) you will see double captions, one from youtube (because the video has yt:cc=on) and one from the jwplayer setup.
2. Open console and paste the jwplayer.setup...:
jwplayer("container").setup({
file:'https://www.youtube.com/watch?v=Ax71wQZGzhU',
width: "80%",
aspectratio: "16:9",
stretching: 'exactfit',
tracks: [{
file: 'http://content.jwplatform.com/tracks/2UEDrDhv.txt',
label: 'English',
kind: 'captions',
default:true
}],


});
press enter and you get: "Cannot read property 'replace' of undefined".
The second bug doesn't exist in regular mp4 embed, only youtube html5.

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

1) If I go to your link in IE, FF, I don’t see the double captions. I see text in the upper right corner but that is in the actual video source itself.

2) I see the 2nd issue though and I will report that.

ben1189

User  
0 rated :

1) This is screenshot from IE10:
http://i60.tinypic.com/1zo98gn.png you can see jw caption over YouTube captions (not embedded captions).

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok, I see what you mean about IE. It seems like FF is fine. I will report this one as well.

This question has received the maximum number of answers.