Revisions : SoundManager2
A Javascript Sound API supporting MP3, MPEG4 audio and (experimental) video, providing reliable cross-browser/platform audio control. BSD licensed. Experimental HTML5 Audio() support is currently in development.
http://github.com/scottschiller/SoundManager2/commits/master
Les articles publiés sur le site
-
Flashblock improvement : Use width/height : auto on SWF instead of 100%, latter does not fall within ClickToFlash’s 8x8px "invisible flash" (and if allowed, OK to load) rules. Better chance of load success with this approach.
3 juillet 2011m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Flashblock improvement: Use width/height: auto on SWF instead of 100%, latter does not fall within ClickToFlash's 8x8px "invisible flash" (and if allowed, OK to (...) -
Flash blocking improvements : = 8x8px .SWF passes as "invisible" per ClickToFlash, better chance of not being blocked. Default size now always 8x8. If blocked and using flashblock CSS, revert container to 48x48px for visibility. SWF dimensions of w/h 100% were resulting in blocks, so moved to w/h:auto which passes with default 8x8px container size.
3 juillet 2011m demo/flashblock/flashblock.css m demo/index.css m demo/index.js Flash blocking improvements: -
Improved "can play" detection (canPlayURL() + canPlayMIME()) for HTML5 + flash cases. Increased "getting impatient, waiting for flash" message to 1 second.
26 juin 2011m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Improved "can play" detection (canPlayURL() + canPlayMIME()) for HTML5 + flash cases. Increased "getting impatient, waiting for flash" message to 1 (...) -
+soundManager.preferFlash (default:true.) If flash available, will use for MP3/MP4 instead of HTML5 which is still new and less-stable (bugs yet to be found etc. across browsers/platforms.)
25 juin 2011m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js +soundManager.preferFlash (default:true.) If flash available, will use for MP3/MP4 instead of HTML5 which is still new and less-stable (bugs yet to be found etc. (...) -
OS X 10.6.8 update *finally* appears to have fixed broken Safari HTML5 audio. Thus, was broken from 10.6.3 to 10.6.7 and SM2 will use Flash. Testcase : http://isflashdeadyet.com/tests/safari-html5/ and Webkit bug : https://bugs.webkit.org/show_bug.cgi?id=32159
24 juin 2011m demo/index.js m script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js OS X 10.6.8 update *finally* appears to have fixed broken Safari HTML5 audio. Thus, was broken from 10.6.3 to 10.6.7 and SM2 will use Flash. (...)