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
-
Add ’audio/mp3’ and related MIME checks for flash, correct edge case where play({type :’audio/mp3’}) would use HTML5 when preferFlash = true due to seeming lack of Flash support for the MIME type.
24 juin 2012, par Scott Schillerm script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Add 'audio/mp3' and related MIME checks for flash, correct edge case where play(type:'audio/mp3') would use HTML5 when preferFlash = true due to seeming lack of (...) -
Improve whileloading() vs. canplaythrough / onload under HTML5 (with support for HTTP range/partial requests). onload() may fire early, followed by numerous whileloading() requests during playback as the HTML5 audio object requests and buffers more audio ranges (eg., 0-10 seconds), eventually matching the total sound duration. (There is no bytes loaded / total, that I’m aware of, to report here, so it’s 0 / 1 and then 0.375 / 1, for example. I suppose I could use integer values, to be "safe", in the future.)
21 juin 2012, par Scott Schillerm script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js Improve whileloading() vs. canplaythrough / onload under HTML5 (with support for HTTP range/partial requests). onload() may fire early, followed by numerous (...) -
Add missing "bgColor" property in shortcut menu, fix code indentation
19 juin 2012, par Scott Schillerm doc/index.html Add missing "bgColor" property in shortcut menu, fix code indentation -
Larger speaker and ZOMG responsive design elements (larger font sizes as width increases, really.)
18 juin 2012, par Scott Schillerm demo/index-rollup.css m demo/index.css m index.html Larger speaker and ZOMG responsive design elements (larger font sizes as width increases, really.) -
Correct flashVersion reference
18 juin 2012, par Scott Schillerm troubleshoot/debug.js Correct flashVersion reference