Type Alias MediaErrorCode

MediaErrorCode:
    | 1
    | 2
    | 3
    | 4
    | 5
    | 6
    | 7

The media error code, represented by a value from the following list:
- 1 - ABORTED: The fetching of the associated resource was aborted by the user's request.
- 2 - NETWORK: Some kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available.
- 3 - DECODE: Despite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error.
- 4 - SRC_NOT_SUPPORTED: The associated resource or media provider object (such as a MediaStream) has been found to be unsuitable.
- 5 - ENCRYPTED: Some kind of digital rights management error occurred.
- 6 - LICENSE_INVALID: The player's license was determined to be invalid.
- 7 - ADVERTISEMENT_ERROR: Some kind of advertisement related error occurred.