
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.