If you’re embedding Youtube videos or linking to them using something like Thickbox or Lightbox, here’s how to have them autoplay.

Basically you need to add the code: autoplay=1

So consider a link like this:

<a href=”http://www.youtube.com/embed/xcgn7SLp-RA?autoplay=1&keepThis=true&TB_iframe=true&height=315&width=560″ …

The “autoplay=1” part needs to come DIRECTLY after the Youtube link. What this is saying is that the “?” means there are variables coming.

Then the variables are separated by “&”. So it’s the link, then the ?, & (or “and” a variable), & and another variable and so on.

Note that autoplay=true will not work – it neesd to be autoplay=1.

Comments

comments

Share This

Share This

Share this post with your friends!