@banou/media-player 0.8.16 → 0.8.18

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.
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../engine-DPnChmYc.js";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../engine-B8CKGIng.js";
2
2
  export { i as DEFAULT_BUFFER_SIZE, e as MediaElementError, a as SUBTITLES_OFF, u as createPictureInPicture, d as createSubtitleRenderer, c as createThumbnailGenerator, n as getTimeRanges, s as isMediaElementError, o as pictureInPictureMode, l as startPlayback, t as terminateRemuxer, r as updateSourceBuffer };
@@ -20,7 +20,12 @@ export type SubtitleRendererOptions = {
20
20
  * which throws. So leaving this unset does not degrade to the slower build, it fails outright.
21
21
  */
22
22
  legacyWasmUrl?: string;
23
- /** Fallback face for `liberation sans`. Without it jassub falls back to whatever the wasm build embeds. */
23
+ /**
24
+ * Fallback face for `liberation sans`. Without it jassub falls back to whatever the wasm build embeds.
25
+ *
26
+ * May be relative: it is resolved against the document before the worker sees it, for the reason
27
+ * given on `workerFetched`.
28
+ */
24
29
  defaultFontUrl?: string;
25
30
  onStreams?: (streams: SubtitleStream[]) => void;
26
31
  };