Error JavaScript APIs (Player V2 Deprecated)

Error JavaScript APIs can be used to get error codes and error text.

Error Properties

Important: Ooyala Player V2 is deprecated and is scheduled to be disabled on 2018-01-31. After that date, Player V2 will no longer play your video or audio content. Customers still using Player V2 need to migrate to Player V4 (see Player V4.

The following table describes all the JavaScript error properties.

Function Description

Return the current error code, if the code exists and if the current state is error.

Format: Read-only

Type: String

Return Value: Returns the error's localized error message.


Get the current text of the error, if one exists.

Format: read-only

Type: String

Return Value: Error's localized error message.

Example: "This video is not authorized for this domain. Please contact the administrator."