Why selecting “Autoplay with Sound” does not actually autoplay ?

Autoplay policy in browsers do not allow autoplay with sound unless there is some previous interaction with the document. For example if you are switching the page on the same site, it works, but otherwise, browsers limit this behaviour so that there is no audio spam.

https://developers.google.com/web/updates/2017/09/autoplay-policy-changes

Chrome’s autoplay policies are simple:

  • Muted autoplay is always allowed.
  • Autoplay with sound is allowed if:
    • User has interacted with the domain (click, tap, etc.).
    • On desktop, the user’s Media Engagement Index threshold has been crossed, meaning the user has previously played video with sound.
    • The user has added the site to their home screen on mobile or installed the PWA on desktop.
  • Top frames can delegate autoplay permission to their iframes to allow autoplay with sound.

Was this article helpful?

Related Articles

Leave A Comment?