When you embed a YouTube video on your website, users can watch it there or double-click it and view it on YouTube's site. If your YouTube video is set to play automatically, it will begin playing as soon as your site visitor reaches YouTube. Sometimes users do not want that to happen. If they are at work, for example, they may not want their computer to begin playing music because they double-click a link on your website. Prevent this from happening by making a small change to the HTML code that creates the embedded YouTube player.
Open the HTML document that contains the YouTube player. The code will look similar to this example:
<object width="425" height="350"><param name="movie" value="</param><embed">http://www.youtube.com/v/OdT9z-JdfJk&autoplay=1"></param><embed src="http://www.youtube.com/v/OdT9z-JdfjtJk&autoplay=1" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Locate "&autoplay=1" in the code block.
Hold down your left mouse button and drag the mouse pointer over that string to highlight it.
Right-click the string and select "Cut." Windows will remove that value from the HTML code.
Save the file and open it in your browser. Double-click the YouTube video. The browser will take you to the Youtube website and display the video. It will not begin playing because you disabled autostart.
Tips & Warnings
- If the YouTube video does not play, verify that you cut the "&autoplay=1" parameter from the code correctly. If you accidentally cut other characters from the code block, the video will not play.
- Photo Credit Frau und Laptop image by Angelika Bentin from Fotolia.com
How to Make YouTube Autoplay
YouTube's autoplay feature is useful for watching a string of videos. Instead of manually browsing for each video, ... How to Disable...
How to Embed YouTube with Autoplay
How to Embed YouTube with Autoplay. YouTube allows us to share and add content to our personal sites, blogs or social network....
Why Won't a YouTube Playlist Autoplay?
How to Set Autoplay on YouTube; ... saying "Turn Autoplay On." ... Click the icon once more to toggle the autoplay option...
How Do I Stop Autoplay in Firefox?
How to Stop YouTube Autoplay in Firefox; How to Stop Firefox Pop-Ups; Comments. 100000847466464 Nov 05, 2012. NOT HELP! ... How to...
How to Stop Autoplay
How to Stop YouTube Autoplay in Firefox. How to Activate AutoPlay. How to Set Autoplay in XP. Featured. The eHow Tech Holiday...