title: Is there an event for when the headphones are unplugged?
body: <p>During a test, a client noticed that video playback in the iPhone pauses when headphones are unplugged. He wanted similar functionality for audio playback, and maybe the ability to pop up a message.</p>
  
  <p>Does anyone know if there's an event of some kind I could hook into to make this possible?</p>