+ 2

copied the code from w3schools. why its not playing here ? whats wrong with sololearn?

https://code.sololearn.com/W5a6OSn4sWtf/?ref=app

25th Dec 2022, 7:51 AM
Ashish Raj
Ashish Raj - avatar
5 Answers
+ 3
Where is your audio your code not getting the actual path which u have given for audio upload it to any cloud server then try.
25th Dec 2022, 8:04 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 1
</CODER> Updated the address to one drive and uploaded the song on one drive as well . Still not working??
25th Dec 2022, 8:54 AM
Ashish Raj
Ashish Raj - avatar
0
Not wrong with Sololearn. Its wrong with your given path You just given audio file name but where this file exist you didn't give that path. To access audio or video or images your path should be known. You can host your audio file on GitHub or DropBox and after getting path link you can put in your code. Google Drive path will not work because its need authentication, you have to make is public but I don't think it will work.
25th Dec 2022, 9:33 AM
AÍąJ
AÍąJ - avatar