Skip to main content
All CollectionsFrequently Asked Questions (FAQ)
Can I set videos to autoplay with sound on?
Can I set videos to autoplay with sound on?
api.video avatar
Written by api.video
Updated over a week ago

Autoplay with Sound in Browsers

It's important to note that autoplay with sound is not supported by all browsers.

Due to a limitation enforced on them, browsers do not allow autoplay with sound. This means that even if a website has enabled autoplay with sound, it will not work in browsers. This limitation is in place to protect users from unwanted and unexpected sounds that may play when they visit a website.

So, if you're wondering why autoplay with sound is not working on your website, the answer is simple - it's not supported by browsers.

How to Work Around the Limitation

However, it's easy to autoplay your videos with the sound muted. If you're using our player, you can enable autoplay in a few ways.

  1. Edit your player in the dashboard and set" Force Autoplay" to true.

  2. Using our player SDK, you can instantiate the player and pass a config argument to autoplay. Docs here

  3. You can also pass in an autoplay URL param to do the same with our embed URLs.

Additional Resources

If you want to learn more about autoplay with sound and its limitations, check out this documentation from W3Schools. It provides a more in-depth explanation of the autoplay attribute and its browser support.

We hope this article has helped clarify any confusion about autoplay with sound in browsers and you can have a look here if you want to check an autplay guide https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide

Did this answer your question?