Forums / Maintenance / Report Problems

27,691 total conversations in 1,731 threads

+ New Thread


Locked Locked
Autoplay

Last posted Sep 03, 2012 at 11:27AM EDT. Added Sep 03, 2012 at 02:02AM EDT
5 posts from 5 users

You can add in ?autoplay=1 at the end of your embedded music.


So your normal embed would look like this:

<iframe width="420" height="315" src="https://www.youtube.com/embed/oavMtUWDBTM?rel=0" frameborder="0" allowfullscreen></iframe>


You would make that autoplay by adding in that ?autoplay=1 bit.

<iframe width="420" height="315" src="https://www.youtube.com/embed/oavMtUWDBTM?autoplay=1" frameborder="0" allowfullscreen></iframe>


I just nixed the ?rel=1, because I don't know what that means (I think it gives you an option to see related videos at the end of the video.)
 
There's also this thread from RandomMan and others that can help you with some things.

Did that do it for you? Any other related questions?

Last edited Sep 03, 2012 at 02:21AM EDT
Skeletor-sm

This thread is closed to new posts.

This thread was locked by an administrator.

Why don't you start a new thread instead?

O HAI! You must login or signup first!