Skip to content

audio tag #2391

Discussion options

You must be logged in to vote

Welcome @samyarmodabber! 👋
Sorry you ran into a spot of trouble.

The issue is you are trying to automatically play audio on a webpage when it loads.
This is not allowed by browsers:

Your options:

  1. Don't autoplay audio, it is generally a bad user experience
  2. If you need to play audio, have the user interact with the page in a way that satisfies the Chrome, Firefox, and Safari autoplay policies.

It is not a bug in MDX, React, a framework, or the browser. It is a protect…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
👀 no/external This makes more sense somewhere else
3 participants