+ 3
Why won’t this audio play
This is Radioactive by Imagine Dragons. Is the file too large to play? Or is it a different problem? https://code.sololearn.com/W3Fz9W7PSEzk/?ref=app
10 ответов
+ 4
https://code.sololearn.com/WrZAvBkDlHgw/?ref=app
See the audio src and see if it helps.
+ 3
@Bartosz Pieszko
How do I do that?
+ 3
Hmm. Yeah, idk. it may be the format. I'm not sure if it can work like that or not. It doesn't seem to work for me, whatever I try using that source.
+ 2
@Bartosz Pieszko
It is in this case.
+ 2
@Bartosz Pieszko
In the SoloLearn HTML course it says to use the src.
+ 2
@J.G.
It looks the same to me.
+ 1
'src' attribute is for directiories, not for hypertext references.
+ 1
@🐺Michael 🐺
It's href (short for Hypertext REFerence) for all kinds of links, including tags a and link. When it's not a link, you are setting the source, so it's src.
+ 1
🐺Michael🐺
Then you have to do it on local directories.
+ 1
When it comes to audio tag it's better if you use a .mp3 file format