Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Youtube player API to v3.
Thanks to Alex Halovanic for this change, allows playback for those
videos which attempt to play advertisements first.

Fixes #10463.
  • Loading branch information
Robert McNamara committed Mar 16, 2012
1 parent 2ce3690 commit 5fb541e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -31,7 +31,7 @@
wmode: 'opaque'
};
var atts = { id: "myytplayer" };
swfobject.embedSWF("http://www.youtube.com/apiplayer?enablejsapi=1&playerapiid=ytplayer",
swfobject.embedSWF("http://www.youtube.com/apiplayer?version=3&enablejsapi=1&playerapiid=ytplayer",
"myth_player", window.innerWidth, window.innerHeight, "8", null, null, params, atts);

function onYouTubePlayerReady(playerId) {
Expand Down

0 comments on commit 5fb541e

Please sign in to comment.