How do I get my YouTube embed to auto-play?

Embeds allow you to add content from YouTube to your prototypes. 

To get the embed to play automatically when the screen loads, you can add an auto-play parameter into the embed code. 

For example, this is the regular embed code for the Marvel for iOS youtube video:

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

 To get this to play, you can add this parameter: ?rel=0&autoplay=1

So the final embed should look like: 

<iframe width="560" height="315" src="https://www.youtube.com/embed/Zdjg9yhBqTU?rel=0&autoplay=1" frameborder="0" allowfullscreen></iframe>

 Auto-play will only work when viewing on desktop, this is disabled on mobile devices. 

More questions? You can submit a request.