@instructure/studio-player 1.1.5 → 1.1.7
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/dist/studio-player.es.js +19573 -1533
- package/dist/{vidstack-CRo1u9eU.js → vidstack-C10ydqAb.js} +26 -22
- package/package.json +2 -1
|
@@ -4046,9 +4046,12 @@ function Kee(c) {
|
|
|
4046
4046
|
return (c == null ? void 0 : c.$$PROVIDER_TYPE) === "VIDEO";
|
|
4047
4047
|
}
|
|
4048
4048
|
function Zee(c) {
|
|
4049
|
-
return (c == null ? void 0 : c.$$PROVIDER_TYPE) === "
|
|
4049
|
+
return (c == null ? void 0 : c.$$PROVIDER_TYPE) === "DASH";
|
|
4050
4050
|
}
|
|
4051
4051
|
function Xee(c) {
|
|
4052
|
+
return (c == null ? void 0 : c.$$PROVIDER_TYPE) === "YOUTUBE";
|
|
4053
|
+
}
|
|
4054
|
+
function Jee(c) {
|
|
4052
4055
|
return (c == null ? void 0 : c.$$PROVIDER_TYPE) === "VIMEO";
|
|
4053
4056
|
}
|
|
4054
4057
|
function IW(c) {
|
|
@@ -11100,7 +11103,7 @@ function ex(c, s) {
|
|
|
11100
11103
|
const t = tv(N1);
|
|
11101
11104
|
return cn((((r = s == null ? void 0 : s.current) == null ? void 0 : r.$state) || t || fz)[c]);
|
|
11102
11105
|
}
|
|
11103
|
-
function
|
|
11106
|
+
function yte(c) {
|
|
11104
11107
|
const s = tv(N1);
|
|
11105
11108
|
return SM(c != null && c.current ? c.current.$state : s || fz);
|
|
11106
11109
|
}
|
|
@@ -30376,7 +30379,7 @@ const YX = xt(ZZ, {
|
|
|
30376
30379
|
({ children: c, ...s }, t) => /* @__PURE__ */ _.createElement(YX, { ...s, ref: t }, (r) => /* @__PURE__ */ _.createElement(st.div, { ...r }, c))
|
|
30377
30380
|
);
|
|
30378
30381
|
pz.displayName = "VolumeSlider";
|
|
30379
|
-
var
|
|
30382
|
+
var gte = /* @__PURE__ */ Object.freeze({
|
|
30380
30383
|
__proto__: null,
|
|
30381
30384
|
Preview: rx,
|
|
30382
30385
|
Root: pz,
|
|
@@ -30510,7 +30513,7 @@ const Tz = _.forwardRef(
|
|
|
30510
30513
|
}
|
|
30511
30514
|
);
|
|
30512
30515
|
Tz.displayName = "SliderVideoProvider";
|
|
30513
|
-
var
|
|
30516
|
+
var Cte = /* @__PURE__ */ Object.freeze({
|
|
30514
30517
|
__proto__: null,
|
|
30515
30518
|
ChapterTitle: Cz,
|
|
30516
30519
|
Chapters: yz,
|
|
@@ -30627,11 +30630,11 @@ const Ez = _.forwardRef(
|
|
|
30627
30630
|
}
|
|
30628
30631
|
);
|
|
30629
30632
|
Ez.displayName = "TimeText";
|
|
30630
|
-
function
|
|
30633
|
+
function Ste() {
|
|
30631
30634
|
const c = yh();
|
|
30632
30635
|
return (c == null ? void 0 : c.player) || null;
|
|
30633
30636
|
}
|
|
30634
|
-
function
|
|
30637
|
+
function bte({ off: c = !0 } = {}) {
|
|
30635
30638
|
const s = yh(), { textTracks: t, textTrack: r } = s.$state, f = cn(t);
|
|
30636
30639
|
return cn(r), _.useMemo(() => {
|
|
30637
30640
|
const v = f.filter(os), g = v.map((T) => ({
|
|
@@ -30855,7 +30858,7 @@ const QJ = _.forwardRef(
|
|
|
30855
30858
|
t
|
|
30856
30859
|
)
|
|
30857
30860
|
);
|
|
30858
|
-
var
|
|
30861
|
+
var wte = /* @__PURE__ */ Object.freeze({
|
|
30859
30862
|
__proto__: null,
|
|
30860
30863
|
Root: QJ,
|
|
30861
30864
|
Track: YJ,
|
|
@@ -30933,14 +30936,14 @@ const ox = Rz.prototype;
|
|
|
30933
30936
|
on(ox, "value");
|
|
30934
30937
|
on(ox, "disabled");
|
|
30935
30938
|
Fi(ox, "getOptions");
|
|
30936
|
-
function
|
|
30939
|
+
function Tte(c) {
|
|
30937
30940
|
const s = yh(), t = _.useRef(null);
|
|
30938
30941
|
return t.current || (t.current = new YM()), _.useEffect(() => {
|
|
30939
30942
|
const r = c, f = r instanceof Jk, v = f ? r : s == null ? void 0 : s.player;
|
|
30940
30943
|
t.current.setPlayer(v ?? null), t.current.setTarget(null);
|
|
30941
30944
|
}, [s, c]), t.current;
|
|
30942
30945
|
}
|
|
30943
|
-
function
|
|
30946
|
+
function Ete({
|
|
30944
30947
|
auto: c = !0,
|
|
30945
30948
|
sort: s = "descending"
|
|
30946
30949
|
} = {}) {
|
|
@@ -30995,7 +30998,7 @@ function Tte({
|
|
|
30995
30998
|
function _D(c) {
|
|
30996
30999
|
return c.height + "_" + c.bitrate;
|
|
30997
31000
|
}
|
|
30998
|
-
function
|
|
31001
|
+
function kte({
|
|
30999
31002
|
rates: c = xz,
|
|
31000
31003
|
normalLabel: s = "Normal"
|
|
31001
31004
|
} = {}) {
|
|
@@ -32931,21 +32934,22 @@ export {
|
|
|
32931
32934
|
oee as P,
|
|
32932
32935
|
iee as T,
|
|
32933
32936
|
ex as a,
|
|
32934
|
-
|
|
32935
|
-
|
|
32936
|
-
|
|
32937
|
-
|
|
32937
|
+
Tte as b,
|
|
32938
|
+
kte as c,
|
|
32939
|
+
bte as d,
|
|
32940
|
+
Ete as e,
|
|
32938
32941
|
CJ as f,
|
|
32939
32942
|
Gk as g,
|
|
32940
32943
|
Wee as h,
|
|
32941
32944
|
os as i,
|
|
32942
32945
|
Kee as j,
|
|
32943
|
-
|
|
32944
|
-
|
|
32945
|
-
|
|
32946
|
-
|
|
32947
|
-
|
|
32948
|
-
|
|
32949
|
-
Cte as
|
|
32950
|
-
|
|
32946
|
+
Xee as k,
|
|
32947
|
+
Jee as l,
|
|
32948
|
+
Zee as m,
|
|
32949
|
+
tee as n,
|
|
32950
|
+
yte as o,
|
|
32951
|
+
wte as s,
|
|
32952
|
+
Cte as t,
|
|
32953
|
+
Ste as u,
|
|
32954
|
+
gte as v
|
|
32951
32955
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/studio-player",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Next generation media player for Instructure",
|
|
6
6
|
"module": "./dist/studio-player.es.js",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@floating-ui/react": "^0.27.3",
|
|
69
69
|
"clsx": "^2.1.1",
|
|
70
|
+
"dashjs": "4.7.4",
|
|
70
71
|
"i18next": "^24.2.1",
|
|
71
72
|
"i18next-resources-to-backend": "^1.2.1",
|
|
72
73
|
"react": "^18.3.1",
|