Skip to main content

How to Enable Autoplay for Embedded Videos

Learn how to enable autoplay for videos embedded in your Durable website.

Stu avatar
Written by Stu
Updated over 2 months ago

Autoplay allows your website videos to start playing automatically when a visitor lands on the page. This can create a more engaging experience and help communicate your message faster. This article explains how to enable autoplay for embedded videos on your Durable site.

To add a video to your site, with Autoplay enabled, requires the video to be added to your Durable website in an Embed section.
See how to add an Embed section, here: Add an embed section to your site

Using a YouTube video as an example, take the embed code instead of the share URL link.

In the example code below, add &autoplay=1 before the ending double quotes in the URL:

Original

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

Autoplay

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

Then, add the embed code and click save.

If you have questions or need a hand updating your video settings, our team is here to help anytime. Just reach out!

Did this answer your question?