Sorry, there is no way to automatically turn off your Redframe music player while the YouTube video plays.