audio element | Sololearn: Learn to code for FREE!

0

audio element

<audio controls> <source src="3-o-khuda.mp3" type="audio/mp3"> <source src="3-o-khuda.mp3" type="audio/mp3"> <source src="3-o-khuda.mp3" type="audio/mp3"> </audio> I write 3 sources in audio element .but only one audio come in my browser???why ??it should be 3 audio.

3/18/2019 7:50:32 AM

Sanaa Hareb

8 Answers

New Answer

+9

Try this: Add <audio> also 3 times: <audio controls> <source src="3-o-khuda.mp3" type="audio/mp3"> </audio> <audio controls> <source src="3-o-khuda.mp3" type="audio/mp3"> </audio> <audio controls> <source src="3-o-khuda.mp3" type="audio/mp3"> </audio>

+1

<audiocontrols> <source src="test.ogg"type="audio/ogg" > </audio>

0

Fill in the blanks to create a video element: < controls> <source ="video.mp4" type="video/mp4"/> < src="video.ogg" type="video/ogg"/> Video not supported </video>

0

0

Audio Src

0

Video Src Source

0

< audio controls> <source src="test.ogg" type="audio/ogg" > </audio>