create your own

Autoplay and Disable Related Videos in Youtube Code

76
rate or flag this page

By angelkid16


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

Print   —   Rate it:  up  down  flag this hub

Comments

RSS for comments on this Hub

PetMemorialWorld profile image

PetMemorialWorld  says:
8 months ago

Very helpful, thanks for sharing these tips.

Aerion Miles  says:
8 months ago

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

Vincent  says:
6 months ago

Worked like a charm, thanks a lot!

Mike Galle  says:
4 months ago

Thanks you so much.. :)

Anthony Kibe  says:
2 months 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  says:
5 weeks ago

Thank you so much!

Eyleesa  says:
3 weeks ago

THANKS ALOT(:

meruboys  says:
3 weeks ago

wahh! very useful.. thanks!

Submit a Comment

Members and Guests

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


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working