few things to be said:
why if the initaiating code runs as the page is loaded, why is it that
the 'onYouTubePlayerReady' function get called only when the popup is
poped open?
The real undesired behavior happens in firefox.
Where in IE the 'onYouTubePlayerReady' is called when the popup window
is "first displayed" or initialy displayed and then each time you
close and reopen the popup window it does not recall the
'onYouTubePlayerReady', but in FireFox it does!
each and every time you click the link to open the popup window and it
is displayed the 'onYouTubePlayerReady' is fired!
Also there is no way to play any video in FireFox with this page!!
Also you will notice that in the 'onYouTubePlayerReady' I have an
'alert' like this:
function onYouTubePlayerReady(playerId) {
alert('fd');
BCWytplayer = document.getElementById("myBCWytplayer");
alert(BCWytplayer.innerHTML);
$get('tester').innerHTML = BCWytplayer.innerHTML;
setInterval(updateBCWytplayerInfo, 250);
updateBCWytplayerInfo();
BCWytplayer.addEventListener("onStateChange",
"onBCWytplayerStateChange");
}
this one here: alert(BCWytplayer.innerHTML);
in Firefox since this function gets fired each time thwe popup window
is displayed, the innerHTML that is displayed in the AlertBox is :
<param value="always" name="allowScriptAccess"><param value="#cccccc"
name="bgcolor"> where as in IE whereit only gets fired once the
content is at least 25 of those <param > elements with a name
attribute that is not existant in firefox.
anyways...
how can I get this to work? anyone has any sugestion?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---