+ 1
Method 2 is not working
20 Respuestas
+ 1
Try replacing
F:\rockstar\rockstar14 - [SongsPk.CC]
with
F:\rockstar\rockstar14 - [SongsPk.CC].mp3
It might work.. Not sure though.
+ 2
Please be more precise.
What is method 2?
+ 2
Mayur Garg Kishalaya Saha thank you very much guys for helping me to solve it
+ 2
Oh, cool! Great job, Mayur Garg
I did notice that it was missing the extension. But thought if it's working with the first method, the second one should be fine too. 😵
+ 1
Well, I don't have access to music files from your laptop, so obviously I can't play it. But is the first method working for you? If neither of them are working, then it could be an issue with the path you specified.
+ 1
That's quite strange! I'm clueless! Maybe someone else can help you. Sorry! :(
+ 1
It's ohk bro thanks for your time Kishalaya Saha
+ 1
It might be because in your code, you haven't added the file extension in the file name/path.
+ 1
I can't see it in the code you have attached above😅
I meant ".mp3" or whichever extension it is in the src attribute.
+ 1
Ya bro it's working thanks Mayur Garg
+ 1
Happy to help!
+ 1
Ya bro even i didn't notice that Kishalaya Saha
0
Do you mean the two ways discussed here?
https://www.sololearn.com/learn/HTML/2193/?ref=app
They are working fine for me. Either way, please save your code in Playground and share a link here so we can see what's going on. Thanks!
0
Ya i was asking about it itself
0
You mean, the first method is working, but the second isn't? Then can you please save the code and share a link? The samples they provided work fine for me.
0
The samples are working in try it yourself
But if im doing on my laptop using my audio files on system then second method isn't working
0
https://code.sololearn.com/Wf9GzxxxMF5K/?ref=app
Have look at this Kishalaya Saha this is the link
0
First method is working fine but second method isn't working
0
I have used the same path and file
0
I have added Mayur Garg