How to Autoplay on YouTube With Tags
Autoplay is a URL parameter passed to the YouTube domain that tells the web browser to automatically start playing the video. You add this URL parameter to the link in your YouTube HTML code. You can add this code using a regular text editor such as Notepad, or you can use a third party application to add the parameter.
Instructions
-
-
1
Right-click the website HTML file that contains the code for your YouTube video. Select "Open With" from the popup menu. Click "Notepad" and click "Open." If you have a third party application instead.
-
2
Scroll down the section of your code where the YouTube video is located. You can also do a search for the tag by pressing "Ctrl+F" and typing "youtube" in the text box. Press "Enter" to move your cursor to the YouTube video.
-
-
3
Add "&autoplay=1" at the end of your YouTube video link. The "1" in the link sets autoplay to "true," so YouTube automatically starts playing when the video opens in the browser.
-
4
Press the "Ctrl+S" to save your changes. Double-click the HTML file to view the YouTube code in your web browser.
-
1