Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MediaError

An error which occurred while handling media in an HTML media element based on HTMLMediaElement, such as or .

interface MediaError {
readonly code: number;
readonly MEDIA_ERR_ABORTED: number;
readonly MEDIA_ERR_DECODE: number;
readonly MEDIA_ERR_NETWORK: number;
readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;
readonly message: string;
}
var MediaError: {
prototype: MediaError;
readonly MEDIA_ERR_ABORTED: number;
readonly MEDIA_ERR_DECODE: number;
readonly MEDIA_ERR_NETWORK: number;
readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number;
new (): MediaError;
}
;

§Properties

§
readonly code: number
[src]
§
readonly MEDIA_ERR_ABORTED: number
[src]
§
readonly MEDIA_ERR_DECODE: number
[src]
§
readonly MEDIA_ERR_NETWORK: number
[src]
§
readonly MEDIA_ERR_SRC_NOT_SUPPORTED: number
[src]
§
readonly message: string
[src]