Playing an audio file until a key is pressed
Playing an audio file until a key is pressed
So I've made a script that plays sounds on keypresses only while chrome is open. What I would like to do next is have it play an mp3 when only when chrome opens when I'm on YouTube, pauses the audio file when I select a video then resumes playing after I've stopped the video. Basically I want ambient sound to be playing as I'm searching for a video to play. Is this even possible?