I have created a Youtube custom player and am given this line to put the player on the page:
<object width="416" height="337"><param name="movie" value="http:// www.youtube.com/cp/vjVQa1PpcFN-AN1CoXuDqylG3kH2orsEIzcm0FMvf-I="></param><embed src="http://www.youtube.com/cp/vjVQa1PpcFN- AN1CoXuDqylG3kH2orsEIzcm0FMvf-I=" type="application/x-shockwave- flash" width="416" height="337"></embed></object> then looking at the samples I know I can embed and I have been embeding a chromeless player using javascript with those lines: <script type="text/javascript"> var params = { allowScriptAccess: "always" }; var atts = { id: "myytplayer" }; swfobject.embedSWF("http://www.youtube.com/v/ VIDEO_ID&enablejsapi=1&playerapiid=ytplayer", "ytapiplayer", "425", "356", "8", null, null, params, atts); </script> So I have tried to embed my custom player using javascript also by modifying this line like this: swfobject.embedSWF("http://www.youtube.com/cp/vjVQa1PpcFN- AN1CoXuDqylG3kH2orsEIzcm0FMvf-I=?enablejsapi=1&playerapiid=ytplayer", "YTEntriesViewerAJAX_ytapiplayer", "400", "300", "8", null, null, params, atts); It works in google chrome, and IE6 (not tried IE7) but the problem is that in Firefox, it does not call the :"onYouTubePlayerReady" at all. this only happens in firefox as in IE 6 it seems fine. what is it that i am doing wrong? if anything? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
