未验证 提交 7fc2da2f 编辑于 作者: Dmitriy Fishman's avatar Dmitriy Fishman 提交者: GitHub
浏览文件

Fix a typo in README.md

上级 f128f9d9
显示 2 additions2 deletions
+2 -2
......@@ -92,7 +92,7 @@ const {Howl, Howler} = require('howler');
Included distribution files:
* **howler**: This is the default and fully bundled source the includes `howler.core` and `howler.spatial`. It includes all functionality that howler comes with.
* **howler**: This is the default and fully bundled source that includes `howler.core` and `howler.spatial`. It includes all functionality that howler comes with.
* **howler.core**: This includes only the core functionality that aims to create parity between Web Audio and HTML5 Audio. It doesn't include any of the spatial/stereo audio functionality.
* **howler.spatial**: This is a plugin that adds spatial/stereo audio functionality. It requires `howler.core` to operate as it is simply an add-on to the core.
......@@ -260,7 +260,7 @@ Fires when the sound is unable to load. The first parameter is the ID of the sou
The load error codes are [defined in the spec](http://dev.w3.org/html5/spec-author-view/spec.html#mediaerror):
* **1** - The fetching process for the media resource was aborted by the user agent at the user's request.
* **2** - A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.
* **3** - An error of some description occured while decoding the media resource, after the resource was established to be usable.
* **3** - An error of some description occurred while decoding the media resource, after the resource was established to be usable.
* **4** - The media resource indicated by the src attribute or assigned media provider object was not suitable.
#### onplayerror `Function`
Fires when the sound is unable to play. The first parameter is the ID of the sound and the second is the error message/code.
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册