diff --git a/docs/docs/events/events.md b/docs/docs/events/events.md index 16339377..f403b009 100644 --- a/docs/docs/events/events.md +++ b/docs/docs/events/events.md @@ -65,7 +65,7 @@ The `VideoPlayer` class, through `VideoPlayerEvents`, supports the following eve Additionally, the `VideoPlayer` instance itself has an `onError` property: -- `onError: (error: ` [VideoRuntimeError](../api-reference/classes/VideoRuntimeError.md) `) => void` — Fired when an error occurs. The callback receives the `VideoRuntimeError` object. +- `onError: (error: ` [VideoRuntimeError](../api-reference/interfaces/VideoRuntimeError.md) `) => void` — Fired when an error occurs. The callback receives the `VideoRuntimeError` object. **Benefits of `useEvent`**: