Created
June 21, 2012 16:16
-
-
Save joeellis/2966791 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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