How To Remove YouTube Information From Embedded Videos
Video Documentation :- With Used modestbranding=1 (Without Logo)
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
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.
- EX: “src=http://www.youtube.com?rel=0&controls=0”
not working
ReplyDelete❣️
ReplyDeleteYou can also use custom YouTube embed video player i.e. plyr.io player, mediaelements.js player, etc .
ReplyDeleteVideo doc on CXDI - Serve Technology YouTube Channel 👍