0

Why put controls? | Зачем ставить controls

Что дает <audio src="sound.mp3" controls autoplay></audio> а не просто <audio src="sound.mp3" autoplay></audio> What does <audio src = "sound.mp3" controls autoplay> </ audio> and not just <audio src = "sound.mp3" autoplay> </ audio>

2nd Apr 2018, 1:48 PM
Oleg
Oleg - avatar
2 Réponses
+ 1
The controls attribute adds audio controls, like play, pause, and volume.
2nd Apr 2018, 3:03 PM
Damyan Petkov
Damyan Petkov - avatar
0
well to simply display the play, pause, and volume control buttons and sliders along with the audio player.
2nd Apr 2018, 2:07 PM
CHMD
CHMD - avatar