Liking cljdoc? Tell your friends :D
ClojureScript only.

web.audio.MediaError

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>`.
raw docstring

codecljs

(code this)

Property.

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.

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`
sourceraw docstring

messagecljs

(message this)

Property.

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.

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`
sourceraw docstring

set-message!cljs

(set-message! this val)

Property.

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.

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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close