+ 1
Why my audio not playing??? Please help me
Help me or explain me https://code.sololearn.com/WRIw823n6Kkf/?ref=app
5 Answers
+ 1
Hi! most likely, your link to the song leads to the html page with this song, and not to the audio file itself. it's probably located somewhere else. give a direct link to the song file
0
How I find direct link of music file
0
Something like this:
https://pwdown.com/11735/Tum%20Hardafa%20Ho%20-%20Ankit%20Tiwari%20-%20320Kbps.mp3
0
although that doesn't seem to work either. it is better to download the song file yourself, then upload it to your cloud storage, and from there insert a direct link into your html code.
Upload content with Dropbox [Tutorial]
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
How To Upload your phone images on SoloLearn using phone
https://code.sololearn.com/WT3661NHpV3B/?ref=app
0
By inspecting the element i got the url with spaces. In chrome it works perfectly without need of encoding even the download button works as intended.
But in Firefox it plays only from the pagaworld page but it fails to download using the dowbload button.
So i encoded it with url tool and got the spaces replaced by %20 and even with that im not able to play it.
My doubt is why Firefox can play it if its src contains spaces and fails when trying to download it, since both src are the same.
Im glad I came across this question it really helps me learn. ty