+ 1
Why can't I hear the music?
<audio autoplay loop> <source src="audiofile.mp3" type="audio/mpeg'> <source src="https://ncs.io/track/download/442dfd89-c291-41b4-b93a-18c0ff73c1dc" type="audio/mp3"> </audio> https://sololearn.com/compiler-playground/W82lIPCK5Uk3/?ref=app
6 Respuestas
+ 2
Max ,
When I fix your mismatched quotes on line 11, I don't hear anything either.
Your src URL doesn't directly name a file but instead looks like an indirect file ID for a content delivery network (CDN).
When I paste the URL in a browser, it opens the download dialog rather than playing it, so maybe each person's local settings determine if it will play or download.
Just a suggestion, but try using a src URL that specifically names an audio file instead of an ID for a CDN. Maybe that'll work.
+ 1
change src="audiofile.mp3"
type="audio/mpeg'> to src="audiofile.mp3"
type="audio/mpeg">
It is working I can hear the music
+ 1
It work on same place of music
0
On the first type attribute the quotation marks are not the same. "audio/mpeg"
0
It still doesn't work
0
try to find this song on another site and add his link.