Flash components Flash files Video Players

Youtube Player

$5.00
By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON- COMMERCIAL PROJECT - details
ID: 6418 | Views: 602 | Downloads: 1
Or

moregiangfx
Uploaded By: giangfx Author
i make an easy component to load and play video from youtube .
What u need to do is :

//setting allow domain
Security.allowDomain('www.youtube.com');
Security.allowDomain('gdata.youtube.com');
Security.allowInsecureDomain('gdata.youtube.com');
Security.allowInsecureDomain('www.youtube.com');

//create new YoutubeVideoPlayer
var youtubePlayer:YoutubeVideoPlayer = new YoutubeVideoPlayer();

//init new video with a youtube link ,i have a sample
youtubePlayer.init("http://www.youtube.com/watch?v=8-Ox-69VBGM");

//add into stage
addChild(youtubePlayer);

ASK Ask a question & Live a coment (Public)

more

Do you have any comment or questions about giangfx file?


Please register & login before you post!