Wednesday, September 28, 2011

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

On Tue, 2011-09-27 at 15:47 -0700, kingofkofs wrote:
> 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"));

theme=dark&color=red is the default version.

Tim


--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
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