Avoiding auto‑playing audio or video prevents disruption, avoids interfering with screen readers, and ensures users—especially those with disabilities—stay in control of their experience.
Some other points include
Correct (No Autoplay):
<video controls>
<source src="video.mp4" type="video/mp4">
</video>
The video loads normally and only plays when the user chooses.
Incorrect (Autoplay Enabled):
<video autoplay controls>
<source src="video.mp4" type="video/mp4">
</video>
The video starts playing automatically, which can be disruptive.
Click the cards below to learn more about each point!