Skip to content

Commit

Permalink
Fix up whatwg.org HTML5 error links
Browse files Browse the repository at this point in the history
  • Loading branch information
scottschiller committed May 21, 2017
1 parent c5b913a commit a0f3d79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/soundmanager2.js
Expand Up @@ -318,7 +318,7 @@ function SoundManager(smURL, smID) {
* Error code 2, MEDIA_ERR_NETWORK: A network error of some description caused the user agent to stop fetching the media resource, after the resource was established to be usable.
* Error code 3, MEDIA_ERR_DECODE: An error of some description occurred while decoding the media resource, after the resource was established to be usable.
* Error code 4, MEDIA_ERR_SRC_NOT_SUPPORTED: Media (audio file) not supported ("not usable.")
* Reference: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#error-codes
* Reference: https://html.spec.whatwg.org/multipage/embedded-content.html#error-codes
*/
html5ErrorCodes = [
null,
Expand Down Expand Up @@ -3315,7 +3315,7 @@ function SoundManager(smURL, smID) {

this._onerror = function(errorCode, description) {

// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#error-codes
// https://html.spec.whatwg.org/multipage/embedded-content.html#error-codes
if (s._iO.onerror) {
wrapCallback(s, function() {
s._iO.onerror.apply(s, [errorCode, description]);
Expand Down

0 comments on commit a0f3d79

Please sign in to comment.