HTML5 知识库

SoundManager2 支持 HTML5 Audio

   阅读:752次   评论:0条   更新时间:2011-09-15    

SoundManager2提供一套在javascript中用来控制声音的API。该Javascript library封装和扩展了Flash的声音功能,为Javascript提供跨平台的音频控制功能。


此次,SoundManager2添加了对 HTML5 Audio()的支持:

 

  • 100% Flash-free MP3 + MP4/AAC where supported, Apple iPad™-compatible
  • Fallback to Flash for MP3/MP4 support, as needed
  • SM2 API is unchanged, transparent; HTML5/flash switching handled internally
  • HTML5 API support approximates Flash 8 API features, minus ID3, plus buffering
  • Some other formats (WAV/OGG) supported via HTML5, depending on browser
  • See soundManager.useHTML5Audio for implementation details.
  • Your browser's HTML5 vs. Flash support (best guess):mp3 mp4 ogg wav

 

点击查看详情:http://www.schillmania.com/projects/soundmanager2/

 

 

评论 共 0 条 请登录后发表评论

发表评论

您还没有登录,请您登录后再发表评论

Global site tag (gtag.js) - Google Analytics