Flag This Hub

Autoplay and Disable Related Videos in Youtube Code

By


Autoplay Youtube Video On Your Site

Ever been to a website that had a video which automatically played as soon as you opened the page? Have you been wondering how to do that on your own page? Well if so then I am here to help! It's really very simple to do so I will walk you through the steps. This will work with any site that lets you enter html code such as your website or your myspace page.

The first thing you want to do is to go to Youtube and locate the video that you want to put on your site. If you look to the right of your screen you will see a box with a link to the video as well as a box with Embed code. This embed code is what you will want to copy, so highlight the whole code and hit Ctrl+C.

Ok now that you have it all copied go into your site's html editor and Ctrl+V to paste it in. Then highlight everything before <embed and delete it. Then delete everything after the </embed> So only the highlighted stuff in the bottom pic will be left.

Now you want to add the code &autoplay=1 after the video url.

Now you're all set, your video will now start as soon as your webpage is opened. See that wasn't so hard?

Ok so I have one more tip for you. Have you noticed at the end of a video, Youtube will show you other related videos they think you might be interested in? There's an example below. This is great sometimes however if you are in network marketing for example, you may not want your prospects to see videos from other marketers. So let me show you how to take this little feature off. It's also very simple to do.

So to remove and disable related videos feature, all you want to do is to add &rel=0 after the video url as shown below.

This has both autoplay and no related videos code

So there you go I hope this is helpful. Please feel free to check out my blog http://mlmprofitsblog.com for tips and tricks for online network marketing, or my site for a great system that will build your mlm business on autopilot. http://halomlmprofits.com/

Live Big!

Angel Taylor

Comments

PetMemorialWorld 3 years ago

Very helpful, thanks for sharing these tips.

Aerion Miles 3 years ago

Great Tips. I look forward to hearing more from you.

Vincent 2 years ago

Worked like a charm, thanks a lot!

Mike Galle 2 years ago

Thanks you so much.. :)

Anthony Kibe 2 years ago

Just had to leave a comment and say thanks. I was really stumped by this one. Even though youtube gives you the option to remove related videos, the code I was using to enable autoplay would override the related video feature and it would still show. Very frustrating. Your code worked like a charm. Appreciated.

Chaque 2 years ago

Thank you so much!

Eyleesa 2 years ago

THANKS ALOT(:

meruboys 2 years ago

wahh! very useful.. thanks!

deiz 2 years ago

perfect^^

Alycia Franklin 2 years ago

Auto playing the video takes time to fully load the webpage as a whole. I think the webmaster or the owner of the site should have purpose of auto playing the videos in their site. Some people get annoyed of the auto playing video.

Matthew Harris 2 years ago

thank you so much! this was the final piece to my new online marketing campaign. autoplaying youtube videos and removing the related videos is a BIG deal! thanks!

Marky 2 years ago

Dont work for Tagged. Shit...

Alyx 21 months ago

thanks...that`s cool

gian 21 months ago

gracias a lot

Matt 19 months ago

This doesn't seem to work with videos that are on Vimeo. Does anyone know how to disable related videos on Vimeo?

U T 19 months ago

For non-techie folks, here is a tool that does it for you:

http://norelatedvideos.weebly.com/

marcello 18 months ago

not working in a link like

http://www.youtube.com/watch?v=aZpxTpGkfre&rel=0

Ragnar 6 months ago

Nice, this was very helpful. Couldn't find the solution anywhere else :)

Submit a Comment
Members and Guests

Sign in or sign up and post using a hubpages account.



    Like this Hub?
    Please wait working