Ask questionsListening/Handling button clicks
Hey again Jordan,
Is it possible to listen and handle play button click/press? I saw the following line of code on the Usage document but am struggling to implement it on my React project.
const isPlaying = webamp.getMediaStatus() === "PLAYING";
To be specific, I am aiming to generate a popup when a user clicks on the Play button.
Answer questions captbaritone
Do you want to show the pop up when the user clicks the button, or anytime a song starts playing/resumes?
Related questionsNo questions were found.