#I try to make Spotify clone but my play/pause functionality is not working properly...

13 messages · Page 1 of 1 (latest)

slim ferry
#

What's currentSong element in this code?

#

can't see

#

Also, are you using Spotify API or doing by yourself

#

?

obtuse charm
#

no i am not using spotify API

currentSong is globle variable :- (let currentSong = new Audio();)

slim ferry
#

Oh okay

slim ferry
slim ferry
#

sorry, I couldn't find answer to your issue

#

hope someone can

trail venture
#

Have you checked the console for errors?

obtuse charm
# trail venture Have you checked the console for errors?

actually it not a error it's bug in code
when i try to play song it play and when i try to pause the song it pause
but the main problem is :-
button's innerHTML is not change the way i want
when i play song that song's button's innerHTML and also same time seekbar button's innerHTML change to pause button and vice versa

sick arch
#

I like ur theme, crystal clear

obtuse charm