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

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -