brainhax
asked on
embed youtube video in FLASH ..
how to embed youtube videos in to FLASH swf ?
or what if i want to use my custom player ? can i use youtube stream in to my custom
player ?
or what if i want to use my custom player ? can i use youtube stream in to my custom
player ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks alien109 and IgAndreas for your replies ,
i found a simple solution here
http://forums.adobe.com/message/1912905
and for using youtube stream in to another player , i saw JW player playing a youtube video ,
and JW player also available in Flash :)
i found a simple solution here
http://forums.adobe.com/message/1912905
and for using youtube stream in to another player , i saw JW player playing a youtube video ,
and JW player also available in Flash :)
function containYoutube(youtubevar, depthLevel) {
this.createEmptyMovieClip("youtubecontainer",depthLevel);
this.youtubecontainer.loadMovie("http://www.youtube.com/v/"+youtubevar);
}
And if all else fails, I found several ways to do it, both in AS2 and in AS3 in this Google result:
http://www.google.com/#q=embed+youtube+video+in+Flash
I believe there is also a set of classes that are made to interact with and gather YouTube videos into your Flash project, but for the life of me I cannot find it. :( I will reply back if I finally stumble across the library.
Cheers,
Andreas