Home
Tour
Costs
Answers
Demos
Access
Tools
Assistance
Enroll
 SearchSearch
How to make a video start automatically and repeat.

 
   Answers Forum Index -> Easily pasted codes
View previous topic :: View next topic  
Author Message
ws
Write and Show support


Joined: 27 May 2007
Posts: 140

PostPosted: Thu Aug 30, 2007 12:39 pm    Post subject: How to make a video start automatically and repeat.

Making the video start automatically

If you want the video to display automatically the moment someone accesses the page and/or if you want it to loop (play over and over), here is the code you have to add to the youtube embed tag to make that happen.

In your code, where the url to the actual video is shown, you add this code:

Quote:
&autoplay=1&loop=1


Here is an example of the url without the addition:

Quote:
src="http://www.youtube.com/v/YXD3hJu2-kY"


To auto-run and keep repeating:

This is how the url appears after the addtion to make it autoplay and loop:

Quote:
src="http://www.youtube.com/v/YXD3hJu2-kY&autoplay=1&loop=1"



To auto-run once and stop:

If you don't want it to repeat (just run once automatically and stop) then show the url like this:

Quote:
src="http://www.youtube.com/v/YXD3hJu2-kY&autoplay=1"

Back to top
Display posts from previous:   
   Answers Forum Index -> Easily pasted codes All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  


Created by WriteandShow.com WriteandShow.com  Answer forum utilizes phpBB © 2001, 2005 phpBB Group