Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
Rob_Gould #1
Flash "wrapper" around a YouTube video player?
Can someone tell me what is causing my Flash file to be incapable of playing a
YouTube video? What I have created is basically a Flash "wrapper" that embeds a
YouTube SWF file inside an object. When I compile the SWF and play it within
an html file on my local computer, all is well. However, when I upload the
same file to my server, the video refuses to play.
When I view the LiveHttpHeader logs, we see calls to a crossdomain.xml file:
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
So it appears that the cross-domain isn't the problem - - - it's set to allow
playback on non-YouTube sites.
Any thoughts on the matter are greatly appreciated.
Security.loadPolicyFile("crossdomain.xml");
var embedme:String =
"http://www.youtube.com/swf/l.swf?video_id=hVkEHBbv4Fg&rel=1&eurl=&iurl=http%3 A/
/i.ytimg.com/vi/hVkEHBbv4Fg/default.jpg&t=OEgsToPDskLXySocnkEWAaWqA5rvjkmb&hl= en
";
var movieGetter:Loader = new Loader();
movieGetter.contentLoaderInfo.addEventListener(Eve nt.COMPLETE, loaded, false,
0, true);
movieGetter.load(new URLRequest(embedme));
function loaded(evt:Event):void
{
var textfield:TextField = new TextField();
textfield.text = "see if this loads...\r\n";
textfield.x = 50;
textfield.y = 50;
addChild(textfield);
addChild(evt.target.content);
textfield.text = "made it past video getting added";
}
Rob_Gould Guest
-
Flash player and shockwave player "not installed"
I recently downloaded the most current shockwave player and flash player, but when I go to a website that requires the program it tells me that I... -
#34667 [Com]: Notice: Unknown: Unable to find the wrapper "compress.bzip2".....
ID: 34667 Comment by: saulovallory at yahoo dot com Reported By: webmaster at 24-99-92-156 dot no-ip dot com Status: ... -
#38779 [NEW]: Engine crash when "require" file with syntax error through stream wrapper
From: alexander dot netkachev at gmail dot com Operating system: Windows XP SP2 PHP version: 5.1.6 PHP Bug Type: Streams... -
Flash Player v9 MSI installation fails when running as"Local System"
Hi, I'm going to distribute Adobe Flash Player 9 via SMS. I?m using Adobe?s own msi package: ?install_flash_player_active_x.msi?. All browsers... -
Can i remove the "flash Player", close,Mimimize button from flash exe file
Hi, Is it possible to remove from .exe file, "flash player, and the close - button, i mean the menu from the flash exe? I have used,...



Reply With Quote

