Embedding Youtube videos on your ning network is a terrific way to curate content which pertains to your site's subject matter.  But one problem that can arise will actually drive traffic back away from your network and that is when a member (or non-member) clicks ont he Youtube logo within a video which takes the visitor back to that video on Youtube.   Here is a hack that will remove the Youtube logo from the embed.

The following post contains two videos that are embedded straight from YouTube. They are essentially the same videos except that one of the embedded video players does not not carry any YouTube-specific branding. Take a look:

This video player has a YouTube logo in the control bar (bottom right)..

 

.. while the player embedded below carries no such logo.

 

 

Removing the YouTube Logo from the Video Player

If you would like to remove the logo from the YouTube player before embedding it on to your website, you need to make a minor change to the default embed code as outlined below.

For the IFRAME version:

<iframe width="500" height="300"
src="http://www.youtube.com/embed/abc?modestbranding=1"
frameborder="0" allowfullscreen>
</iframe>

For the old OBJECT version:

<object width="500" height="314"> <param name="movie"
value="http://www.youtube.com/v/abc?version=3&rel=0&modestbranding=1">
</param><param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
<embed type="application/x-shockwave-flash" width="500" height="300"
src="http://www.youtube.com/v/abc?version=3&rel=0&modestbranding=1"
allowscriptaccess="always" allowfullscreen="true">
</embed>
</object>

 

 

Use the default embed code for a YouTube video and just add modestbranding=1 at the end of the video URL and the YouTube logo won’t show up in the Flash Player.

The new “modestbranding” parameter for YouTube is supported for both Flash-based and IFRAME based embed codes (that are HTML5 compatible).

Update: The previous version of this article used the “showinfo=0″ parameter with “modestbranding=1″ but for the video player to be completely logoless, the showinfo parameter needs to removed. Brian Glick from the YouTube team shares why:

The reason why the video “YouTube” logo overlay appears is because the modestbranding option normally, by itself, still shows some branding – in the form of a small “YouTube” text overlay in the upper-right corner of the video, when you hover over it while the video’s paused. But since you explicitly asked for showinfo=0, we have no place to show the “YouTube” text overlay. So the alternative is to communicate that it’s a YouTube video player via the video overlay.

Thanks to buddy Amit on Labnol for this awesome and useful tip!

Tags: embed, hack, logo, tip, trick, video, youtube

Views: 3461

Reply to This

Replies to This Discussion

Hah! Sweet bro! Thanks for the share.

yep...i put this up with you in mind specifically...

Indeed? Well I certainly appreciate the effort.

Thanks

Tip of the week!!!

I was contemplating on placing videos on certain pages but I did not want any chance of my content to take viewers away from my site (mainly my online shop). Your tip was just what I needed!

On these certain pages of mine, I also wanted to the video to play automatically. You do it with this code at the end -  &autoplay=1 so if you want both it works this way - &autoplay=1&modestbranding=1

You can view one of them at Body Glove Surf Shop

For some reason it's not working for me this is the code I'm using


<iframe width="475" height="267"
src="http://www.youtube.com/embed/videoseries?list=PLF73955473D3D471D"&autoplay=1&modestbranding=1 frameborder="0" allowfullscreen>
</iframe>

this is the original code

<iframe width="475" height="267" src="http://www.youtube.com/embed/videoseries?list=PLF73955473D3D471D" frameborder="0" allowfullscreen></iframe>

can someone please help so I can get the logo off of the player also autoplay?

at a glance it looks like you have it correct...do you have a link to where you have it embedded?

nice

@C. Brickhouse

Update: The previous version of this article used the “showinfo=0″ parameter with “modestbranding=1″ but for the video player to be completely logoless, the showinfo parameter needs to removed. Brian Glick from the YouTube team shares why:

The reason why the video “YouTube” logo overlay appears is because the modestbranding option normally, by itself, still shows some branding – in the form of a small “YouTube” text overlay in the upper-right corner of the video, when you hover over it while the video’s paused. But since you explicitly asked for showinfo=0, we have no place to show the “YouTube” text overlay. So the alternative is to communicate that it’s a YouTube video player via the video overlay.

For the IFRAME version:

<iframe width="475" height="285"
src="http://www.youtube.com/embed/abc?modestbranding=1"
frameborder="0" allowfullscreen>
</iframe>

For the old Object Version:

A while back I could hide the title and logo but this is not possible anymore.. Please correct me if I am wrong;-)

RSS

What's Up With Ning 3.0?

Click here to share your thoughts on what features we should develop next! - Survey will close Friday, 4/25

Projects that the Ning 3.0 Team is currently working on: 

Articles - a new way of organizing longer content pieces. Released 4/16.

Activity Feed Updates - options for more content in the activity feed.

Forum Notifications - ability for members to opt into receiving notifications of new discussions in forums. Released 4/9. 

APIs - The ability to create new members and content programatically.

For more information on what's next, visit the Product Roadmap

Latest Activity

Iori Tatsuguchi replied to Rainer Glaap's discussion 'Heartbleed, MITM - Security Issues'
"Interesting.. Thanks for letting me know! This one's better be lie or I'm going to have…"
15 minutes ago
Alexander replied to Alexander's discussion 'Goodbye for now.'
"I'm try different options right now - bit by bit I will be adding extras which will incur…"
34 minutes ago
Elshara Silverheart replied to Alexander's discussion 'eBay text editor available in iOS 7 on iPad.'
"Tinymce is a universal standard across all web browsers but I see where it can become pretty huge.…"
1 hour ago
Elshara Silverheart replied to Just Asking's discussion 'Need help defeating image crawler...'
"There is in fact a simple fix for this. Image crawlers have to search public content. If…"
1 hour ago
Elshara Silverheart replied to Rowald's discussion 'Fase 2'
"It's a really good source it was updated recently."
1 hour ago
Elshara Silverheart replied to Elshara Silverheart's discussion 'How Do You Use Articles On Your Site?'
"Here's a little tip. Do you want articles to display on your profile? Go to your site…"
1 hour ago
FedMedic replied to FedMedic's discussion 'Critique my 3.0'
"Thank you. Yes, I did change it"
1 hour ago
Just Asking replied to FedMedic's discussion 'Critique my 3.0'
"Is this current?  The background I just saw was gray... nothing outlandish at all.…"
5 hours ago

© 2014   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service