This is a demo of a severe HTML5 audio bug on Android browser.
  1. Click play to start the track.
  2. Pause the track a moment later.
  3. Call your phone and hang up once it starts ringing.
  4. The track resumes playback. It's almost like TELEPATHY!
  1. This also happens whenever you receive a text message, and probably other system events, which happens a lot if you receive notifications from Google calendar for example, and wakes you up in the middle of the night.
  2. Even more fun, the "play" event doesn't fire when it resumes playing.
  3. There is probably a workaround for this, which is to manually track playback state by monitoring what controls the user has clicked.