+ 1

Method 2 is not working

29th Nov 2018, 2:38 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
20 odpowiedzi
+ 1
Try replacing F:\rockstar\rockstar14 - [SongsPk.CC] with F:\rockstar\rockstar14 - [SongsPk.CC].mp3 It might work.. Not sure though.
29th Nov 2018, 4:56 PM
Mayur Garg
Mayur Garg - avatar
+ 2
Please be more precise. What is method 2?
29th Nov 2018, 2:44 PM
Matthias
Matthias - avatar
+ 2
Mayur Garg Kishalaya Saha thank you very much guys for helping me to solve it
29th Nov 2018, 4:59 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
+ 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. 😵
29th Nov 2018, 5:06 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 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.
29th Nov 2018, 4:23 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
That's quite strange! I'm clueless! Maybe someone else can help you. Sorry! :(
29th Nov 2018, 4:36 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
It's ohk bro thanks for your time Kishalaya Saha
29th Nov 2018, 4:42 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
+ 1
It might be because in your code, you haven't added the file extension in the file name/path.
29th Nov 2018, 4:51 PM
Mayur Garg
Mayur Garg - avatar
+ 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.
29th Nov 2018, 4:54 PM
Mayur Garg
Mayur Garg - avatar
+ 1
Ya bro it's working thanks Mayur Garg
29th Nov 2018, 4:58 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
+ 1
Happy to help!
29th Nov 2018, 4:59 PM
Mayur Garg
Mayur Garg - avatar
+ 1
Ya bro even i didn't notice that Kishalaya Saha
29th Nov 2018, 5:07 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
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!
29th Nov 2018, 2:58 PM
Kishalaya Saha
Kishalaya Saha - avatar
0
Ya i was asking about it itself
29th Nov 2018, 3:09 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
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.
29th Nov 2018, 3:38 PM
Kishalaya Saha
Kishalaya Saha - avatar
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
29th Nov 2018, 4:10 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
29th Nov 2018, 4:11 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
0
First method is working fine but second method isn't working
29th Nov 2018, 4:27 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
0
I have used the same path and file
29th Nov 2018, 4:27 PM
Abhishek Tripathi
Abhishek Tripathi - avatar
0
I have added Mayur Garg
29th Nov 2018, 4:52 PM
Abhishek Tripathi
Abhishek Tripathi - avatar