Skip to content

PreloadJS fails to load audio files when scrolling in iOS7 #100

Open
@philostler

Description

@philostler

On iOS 7.1 when you scroll the page while loading audio files (in my case MP3 files) the loading of any currently in-progress files is halted, and after a timeout, an error is raised for those files before the rest of the files in the queue are loaded.

The blackbox test I've used to reproduce this is in the following gist (provide your own audio file)...
https://gist.github.com/philostler/76454ca9b3ec8746a928

  • Test on the iOS Simulator with iPhone 4 & 5 with iOS 7.1
  • Doesn't error and works correctly on iOS8/Android
  • Scroll while loading is in progress to reproduce
  • Only appears to happen with audio files and when using the SoundJS load plugin
  • I've tested difference combinations of PreloadJS and SoundJS (current & NEXT), and it's still reproducible in each case

Screenshots of bug:
Failure when scroll during load...
scroll-failure

Success when not scrolling during load...
no-scoll-success

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions