Error JavaScript APIs (Player V2 Deprecated)

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

Error Properties

Note: Ooyala Player V2 has been deprecated and is scheduled to be disabled. For details and alternatives, see the OVP Release Notes.

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."

Was this article helpful?