0
Help me on this audio tag, it's not playing....
6 Respostas
+ 4
http://66.90.93.122/ost/who-wants-to-be-a-millionaire/zhlvbljg/Chi%20Vuol%20Essere%20Milionario%20%2800%29.mp3
You are linking to a webpage instead of the real mp3 file
Change to use the above location
https://code.sololearn.com/WMFpBhXpiDGM/?ref=app
+ 2
autoplay is blocked by modern browser to protect user from malicious acts.
The protection is called user gesture and you'll need to use JavaScript to set the trigger of playing sound with a mouse event.
+ 2
No, user gesture is a must.
+ 2
I have added JS to the demo for you, it play the music once when user click anywhere on screen. That's the closest to autoplay on modern browsers
0
It's nt even a matter of autoplay it's nt even playing even without dat autoplay.
0
Tnx...alot!!!!
but isn't there a way to make it play once the window loads?