Hide playback controls
1 < autoplay= "AutoPlay">2 <src = "http://39.108.70.41/uploads/once you. mp3" type = "Audio/mpeg" > 3 </ Audio >
have controls
1 < autoplay= "AutoPlay" controls= "Controls">2 <src= "http://39.108.70.41/uploads/used to Be you. mp3" type = "Audio/mpeg" > 3 </ Audio >
1 < audio autoplay = "AutoPlay" controls = "Controls" loop = "Loop" preload = "Auto" 2 src = "Http://demo.mimvp.com/html5/take_you_fly.mp3" > 3 your browser does not support audio tags 4 </ audio >
Properties |
value |
Description |
AutoPlay |
AutoPlay |
If this property appears, the audio plays immediately when it is ready. |
Controls |
Controls |
If this property appears, the control is displayed to the user, such as the play button. |
Loop |
Loop |
If this property appears, the replay starts every time the audio ends. |
Preload |
Preload |
If this property appears, the audio loads when the page loads and prepares to play. If you use "autoplay", the property is ignored. |
Src |
Url |
The URL of the audio to play. You can also use the <source> tab to set up audio. |
by Imp pser 2017-10-03 21:13:19
Add a page background music code