https://github.com/toobug/jsound
无Flash浏览器声音库
https://github.com/toobug/jsound
Last synced: about 1 year ago
JSON representation
无Flash浏览器声音库
- Host: GitHub
- URL: https://github.com/toobug/jsound
- Owner: TooBug
- Created: 2012-04-24T04:47:09.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-10-05T13:38:45.000Z (over 12 years ago)
- Last Synced: 2025-04-02T06:34:10.299Z (about 1 year ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
jSound
======
jSound是一个轻量级的web提示声音兼容库,不依赖Flash等外部插件。在线演示:
特色
======
1、封装不同浏览器的实现差异。目前只实现了非常简单的包装,支持audio标签的浏览器使用audio,不支持audio的使用bgsound实现
2、封装不同浏览器对声音操作的差异。比如对音量的控制等。
3、采用dataURI的方式内置常用提示音,无额外请求。
ToDo
======
1、整理更多的常用声音并压缩内置
2、解决内置声音对低版本浏览器的兼容方案
3、管理多实例的播放(也许用constructor的方式?)