THEOplayer > ErrorCode
A code that indicates the type of error that has occurred.
Signature:
export declare enum ErrorCode
Member |
Value |
Description |
---|---|---|
AD_BLOCKER_DETECTED |
|
An ad blocker has been detected. |
AD_ERROR |
|
Something went wrong with an ad. |
CONFIGURATION_ERROR |
|
The configuration provided is invalid. |
CONTENT_PROTECTION_CERTIFICATE_ERROR |
|
The content protection's certificate could not be loaded. |
CONTENT_PROTECTION_CERTIFICATE_INVALID |
|
The content protection's certificate is invalid. |
CONTENT_PROTECTION_CONFIGURATION_INVALID |
|
The content protection configuration is invalid. |
CONTENT_PROTECTION_CONFIGURATION_MISSING |
|
The media is DRM protected, but no content protection configuration was provided. |
CONTENT_PROTECTION_ERROR |
|
An error related to the content protection. |
CONTENT_PROTECTION_INITIALIZATION_INVALID |
|
The DRM initialization data could not be parsed. |
CONTENT_PROTECTION_INTERNAL_ERROR |
|
Something went wrong in the internal logic of the content protection system. |
CONTENT_PROTECTION_KEY_EXPIRED |
|
The content protection's key has expired. |
CONTENT_PROTECTION_KEY_MISSING |
|
The content protection's key is missing. |
CONTENT_PROTECTION_LICENSE_ERROR |
|
The content protection's license could not be loaded. |
CONTENT_PROTECTION_LICENSE_INVALID |
|
The content protection's license is invalid. |
CONTENT_PROTECTION_NOT_SUPPORTED |
|
The DRM provided is not supported on this platform. |
CONTENT_PROTECTION_OUTPUT_RESTRICTED |
|
All qualities require HDCP, but the current output does not fulfill HDCP requirements. |
FULLSCREEN_ERROR |
|
Changing the presentation to fullscreen was not possible. |
LICENSE_ERROR |
|
The license provided is invalid. |
LICENSE_EXPIRED |
|
The license has expired. |
LICENSE_INVALID_DOMAIN |
|
The provided license does not contain the current domain. |
LICENSE_INVALID_SOURCE |
|
The current source is not allowed in the license provided. |
MANIFEST_CORS_ERROR |
|
An Error related to Cross-origin resource sharing (CORS). |
MANIFEST_LOAD_ERROR |
|
The manifest could not be loaded. |
MANIFEST_PARSE_ERROR |
|
The manifest could not be parsed. |
MEDIA_ABORTED |
|
The fetching process for the media resource was aborted by the user agent at the user's request. |
MEDIA_AVPLAYER_ERROR |
|
An error related to playback through AVPlayer in the iOS or tvOS SDK. |
MEDIA_DECODE_ERROR |
|
The media could not be decoded. |
MEDIA_LOAD_ERROR |
|
The media could not be loaded. |
MEDIA_NOT_SUPPORTED |
|
The media is not supported. |
NETWORK_ERROR |
|
An error related to network has been detected. |
NETWORK_TIMEOUT |
|
The network has timed out. |
SOURCE_INVALID |
|
The source provided is not valid. |
SOURCE_NOT_SUPPORTED |
|
The provided source is not supported. |
SUBTITLE_CORS_ERROR |
|
Loading subtitles has failed due to CORS. |
SUBTITLE_LOAD_ERROR |
|
Loading subtitles has failed. |
SUBTITLE_PARSE_ERROR |
|
Parsing subtitles has failed. |
VR_PLATFORM_UNSUPPORTED |
|
This error occurs when VR is not supported on the current platform. |
VR_PRESENTATION_ERROR |
|
Changing the presentation to VR was not possible. |