YouTube and Iframe

Ask a question+

How Can I close title of embed YouTube video?

Arman 380
add comment

1 Answer


When viewing a featured video using a Youtube url, you may have related videos or titles appear that you would rather hide. This is controlled by YouTube URL parameters and requires you use embed codes instead of oembed links.

This embed code will state there will no be ending related ads after your video finishes playing.
In order to remove YouTube title bar and control, you will need to add few codes after the video link.

Original Embed Codes:

<iframe width="560" height="315" src="//www.youtube.com/embed/qHn0SJHL6Sk?rel=0" frameborder="0" allowfullscreen></iframe>

New Improved Codes:

<iframe width="560" height="315" src="//www.youtube.com/embed/qHn0SJHL6Sk?rel=0&modestbranding=1&autohide=1&showinfo=0&controls=0" frameborder="0" allowfullscreen></iframe>
Gopal Bajpai 210
add comment

Your Answer