[HTML] Stop embeded YouTube videos autoplaying

When embedding YouTube videos on to your website, the video will play back automatically as soon as the page has loaded. To stop this, follow this quick edit.

When you embed a video from YouTube you get some code like this:

<?php<object width="425" height="344">
<
param name="movie" value="http://www.youtube.com/v/jJpx9MEi6_M&hl=en&fs=1"></param>
<
param name="allowFullScreen" value="true"></param>
<
embed src="http://www.youtube.com/v/jJpx9MEi6_M&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>
</
object>?>

All you need to do is add &autoplay=0 to the end of both URLs, like so:

When you embed a video from YouTube you get some code like this:

<?php<object width="425" height="344">
<
param name="movie" value="http://www.youtube.com/v/jJpx9MEi6_M&hl=en&fs=1&autoplay=0"></param>
<
param name="allowFullScreen" value="true"></param>
<
embed src="http://www.youtube.com/v/jJpx9MEi6_M&hl=en&fs=1&autoplay=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed>
</
object>?>