Skip to content
V2.96a.20100606: Added experimental RTMP support via kjvarga's fork at http://github.com/kjvarga/SoundManager2/ while maintaining existing NetStream-based behaviour for non-RTMP MPEG4 audio, etc. Uses new serverUrl: parameter for FMS (I used Red5 for dev/testing,) eg. soundManager.createSound({id:'rtmpTest',serverUrl:'rtmp://localhost/oflaDemo',url:'oh-alberta.mp3'}).play();

New SMSound option for createSound(), load(), play(): 'type', for specifying MIME type alongside URL to help with detecting playability. eg. soundManager.createSound({id:'foo', url:'/player.php?stream=1', type:'audio/mp3'}).play(); and so on. Hat tip: sylvinus.org

New SMSound.onposition() for time-based events

Removed Base64 HTML5 Audio() tests, redundant as numerous MIME (audio/mpeg, audio/mp3 etc.) checks seem to cover it.

Updated MPC (drum machine) demo from 2006-era design, modernizing the CSS a bit.

soundManager.html5.usingFlash reflecting _needsFlash property

nullURL = 'about:blank' tweak for unloading (flash 8.) May have finally fixed that dumb stream closing error on unload/destroy.

Set soundManager.didFlashBlock *before* firing onready()/onerror() listeners