@vocalstack/player 0.1.0-alpha.62 → 0.1.0-alpha.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,7 @@ export function Video() {
36
36
  | `baseUrl` | `https://api.vocalstack.com` | |
37
37
  | `onSource`, `onProgress`, `onError` | | Called with the loaded transcription, the transcription progress (0-100, `null` when done), and errors. |
38
38
  | `onPlayback` | | Called about ten times a second while anything changes, with `{ t, dur, playing, idx, seekN, lang }`: the time in seconds, the length, whether it plays, the index of the current line, a counter that grows on every seek, and the language shown. |
39
- | `ref` | | A `PlayerHandle`: `seek(t)`, `play()`, `pause()`, `toggle()`. |
39
+ | `ref` | | A `PlayerHandle`: `seek(t)`, `play()`, `pause()`, `toggle()`, `toggleMute()`, and `load(link)`, which opens a video link (or a share link) in the player as if the viewer had pasted it. |
40
40
  | `compact` | `false` | Small controls at any width, and no title, summary or share card when paused. For a player inside a side column or card. |
41
41
  | `poster` | | An image shown behind the player before a video is chosen or before the visitor connects. |
42
42