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

MDN Reference

interface MediaError {
    code: number;
    MEDIA_ERR_ABORTED: 1;
    MEDIA_ERR_DECODE: 3;
    MEDIA_ERR_NETWORK: 2;
    MEDIA_ERR_SRC_NOT_SUPPORTED: 4;
    message: string;
}

Properties

code: number
MEDIA_ERR_ABORTED
MEDIA_ERR_DECODE
MEDIA_ERR_NETWORK
MEDIA_ERR_SRC_NOT_SUPPORTED
message: string