Knowledge Base

Autoplay walkthrough

188 views July 5, 2018 July 6, 2018 welden 0

WHAT’S AUTOPLAY?

Autoplay means that the video will start to play automatically whenever someone visits a website that has the player embedded on it. You can activate Auto play on the publish settings section of you back office.

NEW AUTOPLAY POLICY

With the release of Chrome 66 in April, both Chrome and Safari have now moved towards a stricter autoplay policy.

These changes prevent websites from playing audio, or video with audio, without a visitor’s consent and are aimed at improving the user experience while giving greater control of media playback back to the viewer.

WHAT’S THE CHANGE WITH CHROME’S AUTOPLAY POLICIES:

  • Muted autoplay is always allowed.
  • Autoplay with sound is allowed if:

 

Developers are allowed to selectively enable and disable autoplay on various browser

Note: Browsers are able to determine if autoplay is allowed depending on if the user visits the page often.

WHAT SHOULD YOU DO?

To allow autoplay you can add `allow=”autoplay”` on your iframe embed code.

Take a look a the example below

Embed code with no autoplay allowed:

“`<iframe src=”//iframe.dacast.com/b/104301/f/537468″ width=”590″ height=”431″ frameborder=”0″ scrolling=”no” allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>“`

Embed code with autoplay allowed:

“`<iframe src=”//iframe.dacast.com/b/104301/f/537468″ width=”590″ height=”431″ frameborder=”0″ scrolling=”no” allow=”autoplay” allowfullscreen webkitallowfullscreen mozallowfullscreen oallowfullscreen msallowfullscreen></iframe>“`

 

Was this helpful?

Leave A Comment

*
*