Configuring parameters when embedding Youtube videos in iframe


#1

Hi,
It doesn’t seem like I can add parameters to the URL string when embedding youtube videos in an axure iframe- it seems like just the URL is supported.

Is it possible to use a hack to take advantage of some Youtube parameters, like autoplay?

Thanks


#2

If you use YouTube’s Share > Embed feature, it will generate an embed compatible iframe block.

Copy the URL in the “src” attribute and paste that into the Axure iframe widget. After that, you should be able to just start adding the parameters you want.

Example:
https://www.youtube.com/embed/BX2MtlrhSZk?si=4nFdI4HZpZ9clgK7&autoplay=1&controls=1&start=1580&mute=1

Note: Apparently, the “autoplay” flag doesn’t work unless you also add “mute=1”.