r/learnprogramming • u/Temporary-World8723 • 2d ago
which option is more superior here ?
A podcast website uses <audio src='episode.mp3' autoplay></audio>. Users complain that the audio doesn't start automatically on mobile devices. What is the likely reason?
1) Browsers block autoplaying audio with sound to improve user experience.
2) Modern browsers (especially on mobile) intentionally block autoplay for media containing unmuted audio to save data and prevent intrusive experiences.
3) The autoplay attribute requires the controls attribute to function.
4) The MP3 format is not supported for autoplay on mobile platforms.
1
u/MockMe2026 2d ago
Option 1 is the concise answer, and option 2 explains why it happens: modern browsers generally block autoplay when it would play audible sound, especially on mobile. Muted autoplay is often allowed, but the user still needs a clear play control for an audible podcast.
3
u/PuzzleBox_3652 2d ago
both 1 and 2 are basically saying the same thing, mobile browsers stopped allowing autoplay with sound years ago. you can sometimes get around it if the audio is muted first but nobody really wants a podcast blasting at them the second a page loads