Some websites that have sound/music keep the sound running even after the web browser is closed on iPad. Some other websites stop the sound when the page is closed. I suppose there must be some coding within the HTML to control this. How is this done?
The same seems to happening under Safari Version 7.0.1 (9537.73.11) and MacOSX 10.9.1. A youtube video is watched and then a new web site is opened by typing a new address into the address bar. The new web site is loading but the youtube video sound still continues. closing the window and opening a new window "resolves" this.
It plays out of cache when it is started. Whatever page you're on will attempt to download the entire audio and video in order to give the user a higher quality playback. There's an issue in the latest Facebook on iPhone where the audio keeps playing even after leaving the post. Depending on how much cache memory was used the audio will just keep on playing. For Facebook they blindly added the caching feature and didn't bother flushing it or killing the related process. It's called lazy development and poor QA result decisions. Releasing the rest of the updates was more important than fixing the symptom.
For the posts about minimizing the window I can only say LOL.... Good god. The active pages don't stop just because you minimized the window or opened a new tab while leaving the original open.