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

  • Font rendering tweaks

    2 septembre 2014, par scottschiller
    Font rendering tweaks
  • ImageOptim byte savings

    2 septembre 2014, par scottschiller
    ImageOptim byte savings
  • Updated "in the wild" list

    2 septembre 2014, par scottschiller
    Updated "in the wild" list
  • Why UA sniffing is generally bad, real-world example #1048577 : "That time a missing /s on navigator.userAgent (based on single-digit UA version assumptions) broke SM2 on iOS 8+ devices."

    1er septembre 2014, par scottschiller
    Why UA sniffing is generally bad, real-world example #1048577: "That time a missing /s on navigator.userAgent (based on single-digit UA version assumptions) broke SM2 on iOS 8+ devices."
    
    The upside: The fix is adding \s to a UA regex check targeting legacy iOS devices with broken HTML5 Audio support, so that the "OS 10 " portion of the UA string does not match the pattern "OS 1 ".
    
    This is a pre-emptive fix for the pending iOS 8 release, which reportedly includes the string "iPhone OS 10_10 like Mac OS X". Due to SM2 checking for /os ([12|3_0|3_1])/i which had broken HTML5 Audio() support, and not considering the far future possibility of "iOS 10" being included in the userAgent string at the time, HTML5 audio is incorrectly disabled on iOS 8 beta 3 and is likely to apply to the final iOS 8 release.
    
    This is a good example and reminder of why UA checks are generally bad, and dangerous; similar issues hit other libraries doing UA and plugin checks both client and server-side when IE hit 10, and Flash hit version 10, so this iOS pattern change may affect some other libraries targeting iOS as well.
  • Merge pull request #46 from kenial/master

    2 juillet 2014, par scottschiller
    Merge pull request #46 from kenial/master
    
    fixed bug: can't modify ring size on 360play demo with circleRadius config value