BlogWeb Design & Development

How to use YouTube parameters (and recent changes) in 2024

As of right now, when you choose to embed a YouTube video, you have the option of changing various settings within the embed code (see image), which are great, but there are a few more you can add — and actually, some have recently changed as YouTube continues to evolve. This is the embed code if all the provided options are unchecked:

<iframe width="560" height="315" src=";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 known as the control bar area

Hides the title

NOTE: As of 9/25/2018 – 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 the YouTube embed paramters:

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:

See our featured website design work

Check out some of the beautiful websites we’ve built for over 2,000 clients.

We offer WordPress support & maintenance

Shake the stress of ongoing maintenance with plans supported by our team of WordPress experts.

Related articles