I\'ve got a site with an HTML5 audio player and embedded YouTube music videos. I\'d like to make it so that when the user clicks on a YouTube video to play it the music will
You should use the YouTube IFrame API. Add an event listener for onStateChange to get notified when the player's state changes. See the sample code below.