Have you ever embedded a video on your website, then found you wanted to remove the YouTube branding or other videos at the end? You can control this by adding parameters (i.e. passing information) to the end of the URL of the video.
What Parameters To Use
rel=0
This shows only related videos from the same channel as the video that was just played. Otherwise, YouTube will display any relevant, public video at the end of your video.
controls=0
This hides the controls at the bottom of the video player.
modestbranding=1
This hides the YouTube logo in the control bar (which would appear at the bottom of the video). Note: if you use this and controls=0, you'll still see "YouTube" in the bottom right where the controls would be.
autoplay=1
This will automatically start playing the video.
loop=1
This will automatically replay the video once finished.
How to Use YouTube Parameters
On YouTube, locate the video you want to embed and copy the provided embed code.
Click the “Share” button and then click “Embed”.
Copy the code.
Paste your code into your WYSIWYG editor, and then append with the parameter(s) you want to use.
If you’re not used to code or HTML, this may seem daunting, but fear not! Look for “src=”. You’ll see what follows is a URL
EX: “src=http://www.youtube.com”
At the end of the URL, type “?” then the parameter + value you want to add
EX: “src=http://www.youtube.com?rel=0”
If you want more than one parameter, after the previous parameter just add “&” and then the next parameter.
I copy the HTML which is as follows: <iframe width="560" height="315" src="https://www.youtube.com/embed/nGeKSiCQkPw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
In Marketpath CMS, I click to edit my page or blog post and scroll to the rich text editor I want to embed the video in.
I click the Video icon in the toolbar of the rich text editor.
Paste the copied embed information into the “Embed Code” of the CMS.
Locate the URL (look for “src=”) and at the end of the URL, add a “?”. For this example, I want to remove ALL YouTube branding (modestbranding=1), and I want show the videos in this playlist (rel=0). My URL now becomes: https://www.youtube.com/embed/nGeKSiCQkPw?rel=0&modestbranding=1
Click “OK” in the CMS, and your video is now embedded!
Without Parameters
Only embedding the video on the website, without modification.
In order to see the differences, you'll need to click the play icon.
With Parameters
I've chosen to remove the player controls (controls=0), and I want show the videos in this playlist (rel=0) at the end of the video.
In order to see the differences, you'll need to click the play icon.
Emilie serves as the Marketing Project Manager for Marketpath. She obtained an M.B.A. in Marketing and International Business from the University of Indianapolis. She enjoys every aspect of marketing, and finds the analytics just as fascinating. As a former restaurant owner, the entrepreneurial spirit lives on in her, and she wants to help others establish their ideal online presence.