Stopping apps competing on airplay

When I’m playing music from iTunes to an airplay speaker from my iPad, and I start to use Safari, some web videos seem to take over the airplay speaker, so my chosen tunes stop playing.
Is there any way to stop apps that I haven’t chosen playing through airplay? Or any way to stop auto play of web videos in iOS?