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;
};