SoundManager V2.96a.20100520: Experimental HTML5 support, lots of code shuffling
and performance tweaks.
API Updates
o New soundManager.useHTML5Audio (disabled by default except for iPad,
Palm Pre) - adds experimental HTML5 Audio support, with Flash fallback
for MP3/MP4 formats as needed.
o Sound looping now works in Flash! eg. mySound.play({loops:3}); - for
an example + discussion of how to get near-seamless looping, see
Seamless Looping MP3s in Flash (demo video) on Flickr.
Bug fixes
o beginDelayedInit() is always used in lazy loading case (eg. via
dynamic script tag/XHR etc.,) as some cases where SM2 won't auto-start
eg. document.readyState empty for Firefox 3.5.5 (seen on Win32) with
an HTML5 DOCTYPE.
o SWF is now 8x8 pixels by default, vs. 6x6 pixels (odd fix for HTML5
Doctype on Firefox 3.6/win32)
o Fixed dumb IE undefined ID bug
Miscellaneous
o soundmanager2.swf and soundmanager2_flash9.swf are now "non-debug"
versions; with debugMode enabled, soundmanager2_debug.swf and
soundmanager2_flash9_debug.swf are loaded instead.
o New build script for JS + SWFs, see file size table. JS compression
now done via Google Closure compiler; new soundmanager-jsmin.js build,
debug-enabled but compressed, in addition to build-script-optimized,
no-debug, compressed JS (~9 KB with gzip vs. ~90 KB for raw,
commented, debug-enabled version.)
o Null check fix for unavailable eq/waveform data
o Experimental video (flash 9-only) change: Use stage width/height
instead of 0/0 when lacking metadata
o Page player whileloading() calls now being throttled
o Better page player click handling for IE 7