If you follow my simple step-by-step process “How to Embed Video into Your Website or Blog,” it’s a really simple process after that. All you need do is insert the following line of code into your embedding code. Here it is:
&autoplay=1
That’s all you need to put in. The trick is knowing exactly where in your embedding code you need to insert this line. If I use Youtube as an example again, your original code will look something like this:
<object height=”295″ width=”480″><paramname=”movie” value=”http://www.youtube.com/v/4JlKYjw9V4U&hl=en&fs&autoplay=1″ /><param name=”allowFullScreen” value=”true” /><param name=”allowscriptaccess”value=”always” /> <embed src=”http://www.youtube.com/v/4JlKYjw9V4U&hl=en&fs=1″type=”application/x-shockwave-flash” allowscriptaccess=”always”allowfullscreen=”true” height=”295″ width=”480″ /></object>
*********************************************************
NOW IF YOU WANT YOUR VIDEO TO AUTOPLAY
*********************************************************
We’re purely interested in the second URL in the code above. You don’t need to touch the first URL at all.
All you need do is inert “&autoplay” like I said before. Here is what your new code will look like:
<object height=”295″ width=”480″><paramname=”movie” value=”http://www.youtube.com/v/4JlKYjw9V4U&hl=en&fs” /><paramname=”allowFullScreen” value=”true” /><param name=”allowscriptaccess”value=”always” /><embed src=”http://www.youtube.com/v/4JlKYjw9V4U&hl=en&fs&autoplay=1″type=”application/x-shockwave-flash” allowscriptaccess=”always”allowfullscreen=”true” height=”295″ width=”480″ /></object>
*********************************************
Notice from the code above, all I did was enter &autoplay just before the =1 part of the code. Make sure you insert this after the second URL link, not the first. This is the most common mistake people make when trying to this.
Then simply upload your new HTML code to your website and this video will be live on the web, playing instantly as soon as anyone visits your website.
Like I’ve said before it’s a good idea to include <br /> twice after you insert the youtube embedding code. This will leave a gap after your video so your web page doesn’t look all cramped.
If you’re not sure what <br /> stands for it’s like hitting the enter key on your keyboard.