@instructure/studio-player 1.0.0 → 1.0.1

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.
@@ -5,8 +5,8 @@ import { jsx as n, jsxs as l, Fragment as X } from "react/jsx-runtime";
5
5
  import { createContext as we, useContext as ye, useState as k, useCallback as p, useEffect as Z, useMemo as D, useRef as z, forwardRef as ft } from "react";
6
6
  import { u as V, s as ge, a as b, b as de, i as _t, T as Ct, C as gt, c as bt, d as vt, e as wt, P as yt, F as kt, f as ce, g as be, t as G, v as se, h as Lt, j as xt, k as Mt, l as Pt, M as Nt, m as It } from "./vidstack-CRo1u9eU.js";
7
7
  import { n as Zi } from "./vidstack-CRo1u9eU.js";
8
- import { initReactI18next as Et, useTranslation as f } from "react-i18next";
9
- import St from "i18next";
8
+ import { initReactI18next as St, useTranslation as f } from "react-i18next";
9
+ import Et from "i18next";
10
10
  import Tt from "i18next-resources-to-backend";
11
11
  import { useFloating as me, autoUpdate as he, shift as ke, offset as Le, arrow as xe, useListNavigation as ze, useDismiss as Me, useInteractions as Pe, FloatingFocusManager as Ne, FloatingArrow as Ie, useMergeRefs as $e, detectOverflow as At } from "@floating-ui/react";
12
12
  const Vt = (e, t, o) => {
@@ -22,7 +22,7 @@ const Vt = (e, t, o) => {
22
22
  );
23
23
  });
24
24
  };
25
- St.use(Et).use(
25
+ Et.use(St).use(
26
26
  Tt(
27
27
  (e) => Vt(/* @__PURE__ */ Object.assign({ "./locales/ar.json": () => import("./ar-VCVxJm7K.js"), "./locales/ca.json": () => import("./ca-BEBt24QP.js"), "./locales/cy.json": () => import("./cy-YaAJqNQl.js"), "./locales/da-x-k12.json": () => import("./da-x-k12-lQy2NFaK.js"), "./locales/da.json": () => import("./da-BZWhI2Xn.js"), "./locales/de.json": () => import("./de-BUvRwMD6.js"), "./locales/en-AU-x-unimelb.json": () => import("./en-AU-x-unimelb-CMl3c1a0.js"), "./locales/en-GB-x-ukhe.json": () => import("./en-GB-x-ukhe-oT9RNDTK.js"), "./locales/en.json": () => import("./en-DwAikWk3.js"), "./locales/en_AU.json": () => import("./en_AU-CvZ7peTk.js"), "./locales/en_CY.json": () => import("./en_CY-BG8Pm72U.js"), "./locales/en_GB.json": () => import("./en_GB-CA_2B3N6.js"), "./locales/es.json": () => import("./es-CsXsddFr.js"), "./locales/es_ES.json": () => import("./es_ES-D71hU2MM.js"), "./locales/fi.json": () => import("./fi-D2HqteTW.js"), "./locales/fr.json": () => import("./fr-BAEJ5gcO.js"), "./locales/fr_CA.json": () => import("./fr_CA-BKv7vpJe.js"), "./locales/ga.json": () => import("./ga-COMvYqPH.js"), "./locales/hi.json": () => import("./hi-BejTYLRj.js"), "./locales/ht.json": () => import("./ht-BeM6QStZ.js"), "./locales/id.json": () => import("./id-NJzBnSib.js"), "./locales/is.json": () => import("./is-Cv47H4ey.js"), "./locales/it.json": () => import("./it-B6LzBKYz.js"), "./locales/ja.json": () => import("./ja-BV_3G5Hd.js"), "./locales/kl.json": () => import("./kl-CBFEKDWH.js"), "./locales/mi.json": () => import("./mi-BRHT5aP1.js"), "./locales/ms.json": () => import("./ms-D7bYcHUm.js"), "./locales/nb-x-k12.json": () => import("./nb-x-k12-8GMfCmMo.js"), "./locales/nb.json": () => import("./nb-DyTI7Ts1.js"), "./locales/nl.json": () => import("./nl-DBSxFMy9.js"), "./locales/pl.json": () => import("./pl-DUdYRh1Y.js"), "./locales/pt.json": () => import("./pt-DkTHNOHF.js"), "./locales/pt_BR.json": () => import("./pt_BR-DZZGbQIg.js"), "./locales/ru.json": () => import("./ru-Bxl9NL5w.js"), "./locales/sl.json": () => import("./sl-D2hOGCNb.js"), "./locales/sv-x-k12.json": () => import("./sv-x-k12-B7c2_4ik.js"), "./locales/sv.json": () => import("./sv-Bic7JSI_.js"), "./locales/th.json": () => import("./th-hFDNyurj.js"), "./locales/vi.json": () => import("./vi-Dz6NuOdc.js"), "./locales/zh-Hans.json": () => import("./zh-Hans-DKg6WKbe.js"), "./locales/zh-Hant.json": () => import("./zh-Hant-ZHDw_Y-L.js"), "./locales/zh.json": () => import("./zh-C7jcyKYp.js"), "./locales/zh_HK.json": () => import("./zh_HK-C2PlZhAG.js") }), `./locales/${e}.json`, 3)
28
28
  )
@@ -70,9 +70,9 @@ function Ht({
70
70
  forceComments: I,
71
71
  disableCaptionSettings: h,
72
72
  disableStorage: g,
73
- captionOffsetOverride: S,
73
+ captionOffsetOverride: E,
74
74
  disableInteractivePinRanges: P,
75
- onQuizMarkerShow: E,
75
+ onQuizMarkerShow: S,
76
76
  onCaptionsDelete: O,
77
77
  controlsLayout: R,
78
78
  startAt: B
@@ -98,9 +98,9 @@ function Ht({
98
98
  forceComments: I,
99
99
  disableCaptionSettings: h,
100
100
  disableStorage: g,
101
- captionOffsetOverride: S,
101
+ captionOffsetOverride: E,
102
102
  disableInteractivePinRanges: P,
103
- onQuizMarkerShow: E,
103
+ onQuizMarkerShow: S,
104
104
  onCaptionsDelete: O,
105
105
  controlsLayout: R,
106
106
  startAt: B
@@ -187,7 +187,7 @@ const Ut = [
187
187
  "ArrowRight",
188
188
  "Escape"
189
189
  ];
190
- function Ee(e, t = !1, o = !0) {
190
+ function Se(e, t = !1, o = !0) {
191
191
  Z(() => {
192
192
  if (!o)
193
193
  return;
@@ -215,7 +215,7 @@ function Ee(e, t = !1, o = !0) {
215
215
  }
216
216
  function qt(e) {
217
217
  const t = D(() => ({ Escape: e }), [e]);
218
- return Ee(t);
218
+ return Se(t);
219
219
  }
220
220
  const Qe = (e) => /* @__PURE__ */ n("svg", { width: 18, height: 18, viewBox: "0 0 18 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ n("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.94968 7.74766L3.99993 2.79791L2.79785 3.99999L7.7476 8.94974L2.79785 13.8995L3.99993 15.1016L8.94968 10.1518L13.8994 15.1016L15.1015 13.8995L10.1518 8.94974L15.1015 3.99999L13.8994 2.79791L8.94968 7.74766Z", fill: "currentColor" }) }), Gt = "_controls-overlay_151j5_1", Qt = "_keyboard-shortcuts-overlay_151j5_11", Wt = "_screen-reader-content_151j5_76", Yt = "_controls-button_151j5_90", Xt = "_keyboard-shortcuts-button_151j5_106", Jt = "_kebab-menu-button_151j5_116", en = "_kebab-menu_151j5_116", tn = "_kebab-menu-item_151j5_145", nn = "_close-button_151j5_184", on = "_arrow_151j5_198", A = {
221
221
  "controls-overlay": "_controls-overlay_151j5_1",
@@ -413,7 +413,7 @@ function mn() {
413
413
  ...I(),
414
414
  children: [
415
415
  a.kebabMenuElements.map(
416
- ({ id: S, text: P, icon: E, onClick: O }, R) => /* @__PURE__ */ l(
416
+ ({ id: E, text: P, icon: S, onClick: O }, R) => /* @__PURE__ */ l(
417
417
  "button",
418
418
  {
419
419
  tabIndex: o === R ? 0 : -1,
@@ -425,15 +425,15 @@ function mn() {
425
425
  },
426
426
  ...h({
427
427
  onClick: () => {
428
- O(S), t(!1);
428
+ O(E), t(!1);
429
429
  }
430
430
  }),
431
431
  children: [
432
- dn(E) ? E : un[E],
432
+ dn(S) ? S : un[S],
433
433
  P
434
434
  ]
435
435
  },
436
- S
436
+ E
437
437
  )
438
438
  ),
439
439
  /* @__PURE__ */ n(
@@ -468,7 +468,7 @@ function pn() {
468
468
  type: "button",
469
469
  className: `${A.controlsButton} ${A.keyboardShortcutsButton}`,
470
470
  onClick: u,
471
- tabIndex: s.state.interactionsDisabled ? -1 : 0,
471
+ inert: s.state.interactionsDisabled ? "true" : void 0,
472
472
  children: /* @__PURE__ */ n(hn, {})
473
473
  }
474
474
  ),
@@ -596,7 +596,7 @@ const Y = [0.5, 0.75, 1, 1.25, 1.5, 2], bn = [0.5, 1, 2, 3, 4], vn = 5, wn = (e)
596
596
  i.clear();
597
597
  };
598
598
  }, [o, i, e]), i;
599
- }, Ln = "_comments-overlay_bymws_1", xn = "_comments-container_bymws_10", Mn = "_kebab_bymws_20", Pn = "_comment_bymws_1", Nn = "_comment-text_bymws_51", In = "_comment-author-avatar_bymws_71", En = "_comment-author-name_bymws_95", K = {
599
+ }, Ln = "_comments-overlay_bymws_1", xn = "_comments-container_bymws_10", Mn = "_kebab_bymws_20", Pn = "_comment_bymws_1", Nn = "_comment-text_bymws_51", In = "_comment-author-avatar_bymws_71", Sn = "_comment-author-name_bymws_95", K = {
600
600
  "comments-overlay": "_comments-overlay_bymws_1",
601
601
  commentsOverlay: Ln,
602
602
  "comments-container": "_comments-container_bymws_10",
@@ -608,9 +608,9 @@ const Y = [0.5, 0.75, 1, 1.25, 1.5, 2], bn = [0.5, 1, 2, 3, 4], vn = 5, wn = (e)
608
608
  "comment-author-avatar": "_comment-author-avatar_bymws_71",
609
609
  commentAuthorAvatar: In,
610
610
  "comment-author-name": "_comment-author-name_bymws_95",
611
- commentAuthorName: En
611
+ commentAuthorName: Sn
612
612
  };
613
- function Sn({ comment: e }) {
613
+ function En({ comment: e }) {
614
614
  return e.render ? e.render(e, K) : /* @__PURE__ */ l("div", { className: K.comment, onClick: () => {
615
615
  var t;
616
616
  return (t = e.onClick) == null ? void 0 : t.call(e, e);
@@ -632,7 +632,7 @@ function An({
632
632
  comments: e,
633
633
  isKebabMenuVisible: t
634
634
  }) {
635
- const o = v(), i = kn(e, Tn), s = !!b("textTrack"), a = i.map((r) => /* @__PURE__ */ n(Sn, { comment: r }, r.id));
635
+ const o = v(), i = kn(e, Tn), s = !!b("textTrack"), a = i.map((r) => /* @__PURE__ */ n(En, { comment: r }, r.id));
636
636
  return e.length > 0 && o.state.commentsEnabled ? /* @__PURE__ */ n(
637
637
  "div",
638
638
  {
@@ -810,7 +810,7 @@ const to = (e) => /* @__PURE__ */ n("svg", { width: 24, height: 24, viewBox: "0
810
810
  "menu-icon": "_menu-icon_7nhpo_82",
811
811
  menuIcon: lo
812
812
  };
813
- function Se({
813
+ function Ee({
814
814
  label: e,
815
815
  checked: t = !1,
816
816
  onClick: o,
@@ -837,7 +837,7 @@ const co = (e) => /* @__PURE__ */ n("svg", { width: 18, height: 18, viewBox: "0
837
837
  function uo() {
838
838
  const { t: e } = f(), t = y(), o = v();
839
839
  return !t.forceComments && t.hasComments ? /* @__PURE__ */ n(
840
- Se,
840
+ Ee,
841
841
  {
842
842
  Icon: co,
843
843
  label: e("COMMENTS"),
@@ -922,7 +922,7 @@ function Co() {
922
922
  function go() {
923
923
  const { t: e } = f(), t = v();
924
924
  return /* @__PURE__ */ n(
925
- Se,
925
+ Ee,
926
926
  {
927
927
  label: e("ON_TOP"),
928
928
  onClick: t.toggleCaptionPositionOnTop,
@@ -933,7 +933,7 @@ function go() {
933
933
  function bo() {
934
934
  const { t: e } = f(), t = v();
935
935
  return /* @__PURE__ */ n(
936
- Se,
936
+ Ee,
937
937
  {
938
938
  label: e("INVERT_COLORS"),
939
939
  onClick: t.toggleCaptionsInvertColors,
@@ -1083,7 +1083,7 @@ function Po(e, t) {
1083
1083
  }),
1084
1084
  [e]
1085
1085
  );
1086
- return Ee(i, !0, t), o;
1086
+ return Se(i, !0, t), o;
1087
1087
  }
1088
1088
  const nt = we(null), No = {
1089
1089
  main: mo,
@@ -1103,11 +1103,11 @@ const nt = we(null), No = {
1103
1103
  };
1104
1104
  }
1105
1105
  };
1106
- function Eo() {
1106
+ function So() {
1107
1107
  const e = v(), [t, o] = k(["main"]), [i, s] = k(!1), a = p(() => {
1108
1108
  s(!i), o(["main"]), e.setGlobalKeysDisabled(!i);
1109
1109
  }, [i]), r = p((P) => {
1110
- o((E) => E.concat(P));
1110
+ o((S) => S.concat(P));
1111
1111
  }, []), c = p(() => {
1112
1112
  o((P) => P.length > 1 ? P.slice(0, -1) : P);
1113
1113
  }, []), u = p(() => {
@@ -1121,11 +1121,11 @@ function Eo() {
1121
1121
  }), M = Me(w, { escapeKey: !1 }), { getReferenceProps: L, getFloatingProps: I } = Pe([M]), h = D(
1122
1122
  () => ({ setPage: r, back: c, backToMain: u, toggle: a }),
1123
1123
  [r, c, u, a]
1124
- ), g = Po(h, i), S = $e([_.setFloating, g]);
1124
+ ), g = Po(h, i), E = $e([_.setFloating, g]);
1125
1125
  return {
1126
1126
  Page: d,
1127
1127
  open: i,
1128
- floatingRef: S,
1128
+ floatingRef: E,
1129
1129
  referenceRef: _.setReference,
1130
1130
  floatingStyles: C,
1131
1131
  context: w,
@@ -1139,7 +1139,7 @@ function Eo() {
1139
1139
  contextValue: h
1140
1140
  };
1141
1141
  }
1142
- function So() {
1142
+ function Eo() {
1143
1143
  const {
1144
1144
  Page: e,
1145
1145
  context: t,
@@ -1150,7 +1150,7 @@ function So() {
1150
1150
  floatingRef: r,
1151
1151
  referenceRef: c,
1152
1152
  contextValue: u
1153
- } = Eo(), { t: d } = f();
1153
+ } = So(), { t: d } = f();
1154
1154
  return /* @__PURE__ */ l(X, { children: [
1155
1155
  /* @__PURE__ */ n(
1156
1156
  "button",
@@ -1388,7 +1388,7 @@ function f1() {
1388
1388
  /* @__PURE__ */ n(ce, { type: "duration" })
1389
1389
  ] });
1390
1390
  }
1391
- const _1 = "_comment-markers_1i9t2_1", C1 = "_comment-marker_1i9t2_1", g1 = "_timeline-wrapper_1i9t2_23", b1 = "_timeline-wrapper-compact_1i9t2_24", v1 = "_track_1i9t2_33", w1 = "_thumb_1i9t2_46", y1 = "_root_1i9t2_60", k1 = "_track-inner_1i9t2_90", L1 = "_progress_1i9t2_96", x1 = "_track-fill_1i9t2_102", M1 = "_pins_1i9t2_119", P1 = "_pin-button_1i9t2_128", N1 = "_annotation-pin_1i9t2_153", I1 = "_quiz-pin_1i9t2_162", E1 = "_annotation-pin-child_1i9t2_171", S1 = "_quiz-pin-child_1i9t2_175", T1 = "_interactive-pin-container_1i9t2_180", A1 = "_interactive-pin-wrapper_1i9t2_187", V1 = "_interactive-pin-icon_1i9t2_193", R1 = "_interactive-pin_1i9t2_180", H1 = "_bg_1i9t2_207", O1 = "_symbol_1i9t2_211", B1 = "_interactive-pin-button_1i9t2_216", F1 = "_interactive-pin-menu_1i9t2_242", D1 = "_interactive-pin-menu-item_1i9t2_262", Z1 = "_arrow_1i9t2_283", j1 = "_tooltip_1i9t2_287", K1 = "_tooltip-arrow_1i9t2_296", m = {
1391
+ const _1 = "_comment-markers_1i9t2_1", C1 = "_comment-marker_1i9t2_1", g1 = "_timeline-wrapper_1i9t2_23", b1 = "_timeline-wrapper-compact_1i9t2_24", v1 = "_track_1i9t2_33", w1 = "_thumb_1i9t2_46", y1 = "_root_1i9t2_60", k1 = "_track-inner_1i9t2_90", L1 = "_progress_1i9t2_96", x1 = "_track-fill_1i9t2_102", M1 = "_pins_1i9t2_119", P1 = "_pin-button_1i9t2_128", N1 = "_annotation-pin_1i9t2_153", I1 = "_quiz-pin_1i9t2_162", S1 = "_annotation-pin-child_1i9t2_171", E1 = "_quiz-pin-child_1i9t2_175", T1 = "_interactive-pin-container_1i9t2_180", A1 = "_interactive-pin-wrapper_1i9t2_187", V1 = "_interactive-pin-icon_1i9t2_193", R1 = "_interactive-pin_1i9t2_180", H1 = "_bg_1i9t2_207", O1 = "_symbol_1i9t2_211", B1 = "_interactive-pin-button_1i9t2_216", F1 = "_interactive-pin-menu_1i9t2_242", D1 = "_interactive-pin-menu-item_1i9t2_262", Z1 = "_arrow_1i9t2_283", j1 = "_tooltip_1i9t2_287", K1 = "_tooltip-arrow_1i9t2_296", m = {
1392
1392
  "comment-markers": "_comment-markers_1i9t2_1",
1393
1393
  commentMarkers: _1,
1394
1394
  "comment-marker": "_comment-marker_1i9t2_1",
@@ -1413,9 +1413,9 @@ const _1 = "_comment-markers_1i9t2_1", C1 = "_comment-marker_1i9t2_1", g1 = "_ti
1413
1413
  "quiz-pin": "_quiz-pin_1i9t2_162",
1414
1414
  quizPin: I1,
1415
1415
  "annotation-pin-child": "_annotation-pin-child_1i9t2_171",
1416
- annotationPinChild: E1,
1416
+ annotationPinChild: S1,
1417
1417
  "quiz-pin-child": "_quiz-pin-child_1i9t2_175",
1418
- quizPinChild: S1,
1418
+ quizPinChild: E1,
1419
1419
  "interactive-pin-container": "_interactive-pin-container_1i9t2_180",
1420
1420
  interactivePinContainer: T1,
1421
1421
  "interactive-pin-wrapper": "_interactive-pin-wrapper_1i9t2_187",
@@ -1475,7 +1475,7 @@ const z1 = ft(function({ currentTime: t, position: o }, i) {
1475
1475
  onNavigate: c,
1476
1476
  loop: !0,
1477
1477
  openOnArrowKeyDown: !1
1478
- }), { getReferenceProps: S, getFloatingProps: P, getItemProps: E } = Pe(
1478
+ }), { getReferenceProps: E, getFloatingProps: P, getItemProps: S } = Pe(
1479
1479
  [h, g]
1480
1480
  ), O = $e([w.setReference, i]), { t: R } = f(), B = be(t);
1481
1481
  return /* @__PURE__ */ l(X, { children: [
@@ -1490,7 +1490,7 @@ const z1 = ft(function({ currentTime: t, position: o }, i) {
1490
1490
  className: m.interactivePinButton,
1491
1491
  ref: O,
1492
1492
  style: { left: `${o}%` },
1493
- ...S({
1493
+ ...E({
1494
1494
  onClick: _
1495
1495
  }),
1496
1496
  children: /* @__PURE__ */ l(
@@ -1552,7 +1552,7 @@ const z1 = ft(function({ currentTime: t, position: o }, i) {
1552
1552
  I.current[ee] = ne;
1553
1553
  },
1554
1554
  tabIndex: r === ee ? 0 : -1,
1555
- ...E({
1555
+ ...S({
1556
1556
  onClick: () => {
1557
1557
  _e(j, t), a(!1), d.setGlobalKeysDisabled(!1);
1558
1558
  }
@@ -1607,7 +1607,7 @@ const z1 = ft(function({ currentTime: t, position: o }, i) {
1607
1607
  t.current = !1;
1608
1608
  }
1609
1609
  }), []);
1610
- return Ee(o), { focusCallback: p((s) => {
1610
+ return Se(o), { focusCallback: p((s) => {
1611
1611
  s && (s.addEventListener("focus", () => {
1612
1612
  e.current = !0;
1613
1613
  }), s.addEventListener("blur", () => {
@@ -2287,7 +2287,7 @@ function Li({
2287
2287
  controlsLayout: o,
2288
2288
  showCaptionsButton: i
2289
2289
  }) {
2290
- const s = V(), a = v(), { hasAnnotations: r, hasQuizmarkers: c, interactive: u } = y();
2290
+ const s = V(), a = v(), { hasAnnotations: r, hasQuizmarkers: c, interactive: u } = y(), d = a.state.interactionsDisabled || a.state.isKeyboardShortcutsOpen;
2291
2291
  return ki(), Z(() => {
2292
2292
  s && (s.remoteControl.pauseControls(), t && (typeof t == "function" ? t(s) : t.current = s));
2293
2293
  }, [s, t]), /* @__PURE__ */ l(
@@ -2298,6 +2298,7 @@ function Li({
2298
2298
  [W.normal]: o === "normal",
2299
2299
  [W.compact]: o === "compact"
2300
2300
  }),
2301
+ inert: d ? "true" : void 0,
2301
2302
  children: [
2302
2303
  o === "normal" ? /* @__PURE__ */ l(
2303
2304
  Ze,
@@ -2326,7 +2327,7 @@ function Li({
2326
2327
  ) : null,
2327
2328
  /* @__PURE__ */ l("div", { className: W.rightControls, children: [
2328
2329
  i && /* @__PURE__ */ n(fn, {}),
2329
- /* @__PURE__ */ n(So, {}),
2330
+ /* @__PURE__ */ n(Eo, {}),
2330
2331
  /* @__PURE__ */ n(Uo, {})
2331
2332
  ] })
2332
2333
  ]
@@ -2397,9 +2398,9 @@ function Bi({
2397
2398
  onCaptionsDelete: I,
2398
2399
  interactiveMenuElements: h = [],
2399
2400
  kebabMenuElements: g = [],
2400
- darkMode: S = !1,
2401
+ darkMode: E = !1,
2401
2402
  autoLoadCaptionSrc: P = "",
2402
- forceComments: E = !1,
2403
+ forceComments: S = !1,
2403
2404
  disableCaptionSettings: O = !1,
2404
2405
  disableStorage: R = !1,
2405
2406
  startAt: B,
@@ -2411,7 +2412,7 @@ function Bi({
2411
2412
  }) {
2412
2413
  const { contextValue: Ce, shortcuts: ct, storage: ut } = hi(
2413
2414
  a,
2414
- E,
2415
+ S,
2415
2416
  O,
2416
2417
  B
2417
2418
  ), { i18n: Ve } = f();
@@ -2437,8 +2438,8 @@ function Bi({
2437
2438
  onInteractivePinClick: L,
2438
2439
  interactiveMenuElements: h,
2439
2440
  kebabMenuElements: g,
2440
- darkMode: S,
2441
- forceComments: E,
2441
+ darkMode: E,
2442
+ forceComments: S,
2442
2443
  disableCaptionSettings: O,
2443
2444
  disableStorage: R,
2444
2445
  captionOffsetOverride: fe,
@@ -2450,7 +2451,7 @@ function Bi({
2450
2451
  children: /* @__PURE__ */ n(Rt, { contextValue: Ce, children: /* @__PURE__ */ l(
2451
2452
  Nt,
2452
2453
  {
2453
- "data-version": "1.0.0",
2454
+ "data-version": "1.0.1",
2454
2455
  crossOrigin: j,
2455
2456
  storage: R ? null : ut,
2456
2457
  title: e,
@@ -2481,7 +2482,7 @@ function Bi({
2481
2482
  /* @__PURE__ */ n(
2482
2483
  Li,
2483
2484
  {
2484
- darkMode: S,
2485
+ darkMode: E,
2485
2486
  playerRef: t,
2486
2487
  showCaptionsButton: !O,
2487
2488
  controlsLayout: ne
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/studio-player",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "description": "Next generation media player for Instructure",
6
6
  "module": "./dist/studio-player.es.js",