+ 3
About adding video and audio
Can more than 1 audio or video files can be added in one audio or video tag
2 Respuestas
+ 11
Hi Haweris! Yes and no, you can add multiple audio/video files contained within one audio/video tag, using the "source" tag for each file but these are "alternative files", the browser will use the first recognized format, it won't play them all simultaneously. Example:
<audio controls>
<source src="song1.ogg" type="audio/ogg">
<source src="song2.mp3" type="audio/mpeg">
</audio>
See more at:
- Audio: https://www.w3schools.com/tags/tag_audio.asp
-Video: https://www.w3schools.com/html/html5_video.asp
+ 1
no