Answer the question
In order to leave comments, you need to log in
I'm looking at youtube player api. Requesting chromeless. Why does it show the red play button?
var ytplayer;
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
swfobject.embedSWF(
"http://www.youtube.com/apiplayer?enablejsapi=1&version=3",
"ytapiplayer", "600", "375", "8", null, null, params, atts);
function onYouTubePlayerReady(playerId) {
ytplayer = document.getElementById("myytplayer");
ytplayer.loadVideoById('XXXXXXXXXXX');
ytplayer.stopVideo();
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question