modestbranding only applies to the embedded player, not the
chromeless player. The chromeless player already shows a minimal
amount of branding, and there's no parameter to change that.
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Jan 18, 3:06 am, Ayush <samemic...@gmail.com> wrote:
> Security.allowDomain("www.youtube.com")
> var my_player:Object;
> var my_loader:Loader = new Loader();
> public function ytPlayer() {
> my_loader.load(new URLRequest("http://www.youtube.com/apiplayer?version=3&*
> modestbranding=1")); *
> my_loader.contentLoaderInfo.addEventListener(Event.INIT, onLoaderInit);}
>
> function onLoaderInit(e:Event):void{
> addChild(my_loader);
> my_player = my_loader.content;
> my_player.addEventListener("onReady", onPlayerReady);}
>
> function onPlayerReady(e:Event):void{
> my_player.setSize(640,360);
> my_player.loadVideoById("_OBlgSz8sSM",0);
>
> }
>
> I am loading a youtube video inside a AS3 app, and want the youtube logo
> not to be visible. I have used *modestbranding *but still it shows the
> logo. Please suggest.
--
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