error
("error", (retryable: boolean, Z.Video.ErrorReason) => void): this;
Emitted when there's an issue with video playback.
Returns
this
Handler Function
When the error
event is fired, attached handler functions are called with two arguments: a boolean to indicate whether retrying playback may work, and an ErrorReason.