Web Design & Development

How To Use YouTube Parameters (And Recent Changes)

As of right now, when you get an embed code in YouTube you get a few options (see image), which are great, but there are a few more you can add, and actually, some have recently changed.

This is the embed code if all the provided options are unchecked:

<iframe width="560" height="315" src="https://www.youtube.com/embed/I__Dx73EaX0?rel=0&amp;controls=0&amp;showinfo=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Un-checking those options adds the following to the URL after the question mark:

These are parameters with the HTML name for “&” (&amp;) in between each one.

This disables the suggested videos at the end

NOTE: As of 9/25/18 – this will not disable related videos. Instead, rel=0 will show related videos from the same channel as the video that was just played.

This hides the bottom portion of the video

Hides the title

NOTE: As of 9/25/18 – this parameter is deprecated and will be ignored

Other Useful Parameters:

Hide the YouTube logo in the control bar

The video will automatically start playing

The video will replay once finished

How to Use:

If you want to use any of these in your embed code just add the “&” HTML name (&amp;) and paste in one of the parameters above before the closing quote:

Need Help?

Tell us about your project!

  • Date Format: MM slash DD slash YYYY
  • This field is for validation purposes and should be left unchanged.

Related articles

Google Rating
Based on 58 reviews