+ 2

I am trying to put music into my code but i cant see it. If you can help please help.

<center><audio src="https://www.christmasgifts.com/christmasmusic/jingle-bells.mp3" controls></center> (copy and paste this code) https://code.sololearn.com/W7kFujy98a9L/?ref=app

14th Dec 2020, 3:49 PM
Jordan Kinney
Jordan Kinney - avatar
7 odpowiedzi
+ 1
Ace🂡 [{TheWaterCoder}] You are using iframe to embed audio use audio tag for it
14th Dec 2020, 4:21 PM
Krish
Krish - avatar
+ 2
Krish, Spentic Thank you for the answer
15th Dec 2020, 1:46 PM
Jordan Kinney
Jordan Kinney - avatar
+ 1
Krish I did it but still dont see it on my screen.
14th Dec 2020, 4:28 PM
Jordan Kinney
Jordan Kinney - avatar
+ 1
Ace🂡 [{TheWaterCoder}] Add controls attribute in audio And the audio bar is hidden by your canavs
14th Dec 2020, 4:33 PM
Krish
Krish - avatar
+ 1
Krish <video width="300" height="200" controls="false" autoplay="autoplay"> <source src="video/supercoolvideo.mp4" type="video/mp4" /> </video> Like this?
14th Dec 2020, 4:35 PM
Jordan Kinney
Jordan Kinney - avatar
+ 1
Ace🂡 [{TheWaterCoder}] It will be audio not video And controls true if you want the audio bar to appear
14th Dec 2020, 4:57 PM
Krish
Krish - avatar