+ 4

How can set audio in my html page

what tag or function is used

25th May 2018, 1:04 PM
sonam
sonam - avatar
8 Antworten
+ 5
html:: <audio src="beats.mp3"/> js:: var audio=new Audio("beats.mp3"); audio.play();
25th May 2018, 1:07 PM
᠌᠌Code X
᠌᠌Code X - avatar
25th May 2018, 1:14 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 4
sonam You are welcome😂
25th May 2018, 1:27 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 3
thanks
25th May 2018, 1:08 PM
sonam
sonam - avatar
+ 3
thanku
25th May 2018, 1:17 PM
sonam
sonam - avatar
2nd Jun 2018, 6:44 AM
Yesh Jadav
Yesh Jadav - avatar
+ 1
<audio controls> <source src="music.mp3" type="audio/mpeg"> </audio>
27th May 2018, 8:08 PM
Alex Smith
Alex Smith - avatar
+ 1
thanku
29th May 2018, 4:12 PM
sonam
sonam - avatar