Tuesday, September 27, 2011

[YouTube-API] How can I change theme (load player into a swf file)

How can I change theme (load youtube player to an swf)
I know I can use Chromeless Player to make own theme ,but if I just want to use existing theme

var loader:Loader= new Loader();
loader
.contentLoaderInfo.addEventListener(Event.INIT, onLoaderInit);
loader
.load(new URLRequest("http://www.youtube.com/v/"+vid_id+"?version=3"));

It works , but what if I want to change theme to that dark one ?
I tried. below ,but nothing happened

loader.load(new URLRequest("http://www.youtube.com/v/"+vid_id+"&theme=dark&color=red&fs=1&version=3"));

Is there a way to change theme ?

Sorry for my English

Thank you

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/63YYZN7F2JYJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment