How to keep iPod touch from switching to music player when i plug in speakers?

When i plug in speakers, or plug the iPod touch to my radio dock, it always auto switches to the music player. Is there a way to make it stay on the current application?
Update: It's annoying because if I start something on youtube, and then plug in the speakers, it will auto switch to the music player.
2 answers 2