Skip to content

Video.onError ​

JS
Video.onError(function callback)

Registers a listener for the Video error event.

Parameters

  • function callback: Callback function that listens for the Video error event

Parameters of the callback function

  • Object res: Returns the current error information, i.e. Video.error