diff --git a/docs/packages/player.mdx b/docs/packages/player.mdx index bebd4068c6..2e31efec15 100644 --- a/docs/packages/player.mdx +++ b/docs/packages/player.mdx @@ -145,7 +145,7 @@ player.addEventListener("timeupdate", (event) => { | `ratechange` | — | Playback rate changed | | `volumechange` | — | Volume or muted state changed | | `scenes` | `{ scenes }` | The runtime reported its scene list | -| `error` | `{ message }` | Load or runtime error, or no timeline within the load limit (Windows 90 s, Linux 30 s, other systems 120 s). The player keeps listening, so a timeline that comes later still fires `ready`. A video adds its `MediaError` `code` | +| `error` | `{ message }` | Load or runtime error, or no timeline within the load limit (Windows 90 s, Linux 30 s, other systems 120 s). The player keeps listening, so a timeline that comes later still fires `ready`. A video adds its `MediaError` `code`. With no listener and no `onerror`, it is also a console warning | | `playbackerror` | `{ source, error }` | The browser blocked playback, for example unmuted autoplay | ## Custom icons and loading mark diff --git a/packages/player/README.md b/packages/player/README.md index 64ff872ba5..14351622ff 100644 --- a/packages/player/README.md +++ b/packages/player/README.md @@ -356,7 +356,7 @@ The `width` and `height` attributes define the composition's native resolution f ## How it works -The player renders compositions in a sandboxed `