Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.MediaError

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.MediaError
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/types/index.ts";
const { MediaError } = dom;

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

Properties

readonly
code: number
readonly
message: string
readonly
msExtendedCode: number
readonly
MEDIA_ERR_ABORTED: number
readonly
MEDIA_ERR_DECODE: number
readonly
MEDIA_ERR_NETWORK: number
readonly
MEDIA_ERR_SRC_NOT_SUPPORTED: number
readonly
MS_MEDIA_ERR_ENCRYPTED: number