flash - How to embedd a youtube video inside a swf -


Embedding a YouTube video using embed code in a blog or HTML / PHP page is straight forward.

Is there a simple way to "embed" one video within a Flash / SVF interface?

Did you try to load it from the loader class? I think that YouTube's Cross Domain will allow it to be loaded from somewhere.

  var loader: loader = new loader (); AddChild (loader); Loader.load (new URLRequest ("http://www.youtube.com/v/CrypticVideoID"));  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -