The MediaError interface represents an error which occurred while
media in an HTML media element based on web.media.HTMLMediaElement
,
as <audio>
or <video>
.
The MediaError interface represents an error which occurred while media in an HTML media element based on `web.media.HTMLMediaElement`, as `<audio>` or `<video>`.
(code this)
Property.
[Read Only]
The read-only property MediaError.code returns a numeric value
represents the kind of error that occurred on a media element.
get a text string with specific diagnostic information, see MediaError.message
.
var myError = mediaError.code;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaError/code
Property. [Read Only] The read-only property MediaError.code returns a numeric value represents the kind of error that occurred on a media element. get a text string with specific diagnostic information, see `MediaError.message`. `var myError = mediaError.code;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaError/code`
(message this)
Property.
[Read Only]
The read-only property MediaError.message returns a web.dom.DOMString
contains a human-readable string offering specific diagnostic
related to the error described by the MediaError object, or an
string ("") if no diagnostic information can be determined
provided.
var errorMessage = mediaError.message;
See also: https://developer.mozilla.org/en-US/docs/Web/API/MediaError/message
Property. [Read Only] The read-only property MediaError.message returns a `web.dom.DOMString` contains a human-readable string offering specific diagnostic related to the error described by the MediaError object, or an string (\"\") if no diagnostic information can be determined provided. `var errorMessage = mediaError.message;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/MediaError/message`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close