Version: 2.67.0

MediaErrorCode

THEOplayer > MediaErrorCode

MediaErrorCode enum

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.

Signature:
export declare enum MediaErrorCode

Enumeration Members

Member

Value

Description

ABORTED

1

ADVERTISEMENT_ERROR

7

DECODE

3

ENCRYPTED

5

LICENSE_INVALID

6

NETWORK

2

SRC_NOT_SUPPORTED

4