Skip to content

Instantly share code, notes, and snippets.

@joeellis
Created June 21, 2012 16:16
Show Gist options
  • Save joeellis/2966791 to your computer and use it in GitHub Desktop.
Save joeellis/2966791 to your computer and use it in GitHub Desktop.
soundManager.ontimeout(function() {
// Something went wrong during init - in this example, we *assume* flashblock etc.
soundManager.flashLoadTimeout = 0; // When restarting, wait indefinitely for flash
soundManager.onerror = {}; // Prevent an infinite loop, in case it's not flashblock
soundManager.reboot(); // and, go!
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment