Use 127.0.0.1 instead of localhost to work around iOS 7 not serving audio and video when in offline mode (thank you Daniel).