@instructure/studio-player 1.1.3 → 1.1.4
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 +1529 -19634
- package/dist/{vidstack-Dk7bb407.js → vidstack-CRo1u9eU.js} +23 -27
- package/package.json +2 -3
|
@@ -4046,12 +4046,9 @@ 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) === "DASH";
|
|
4050
|
-
}
|
|
4051
|
-
function Xee(c) {
|
|
4052
4049
|
return (c == null ? void 0 : c.$$PROVIDER_TYPE) === "YOUTUBE";
|
|
4053
4050
|
}
|
|
4054
|
-
function
|
|
4051
|
+
function Xee(c) {
|
|
4055
4052
|
return (c == null ? void 0 : c.$$PROVIDER_TYPE) === "VIMEO";
|
|
4056
4053
|
}
|
|
4057
4054
|
function IW(c) {
|
|
@@ -11103,7 +11100,7 @@ function ex(c, s) {
|
|
|
11103
11100
|
const t = tv(N1);
|
|
11104
11101
|
return cn((((r = s == null ? void 0 : s.current) == null ? void 0 : r.$state) || t || fz)[c]);
|
|
11105
11102
|
}
|
|
11106
|
-
function
|
|
11103
|
+
function vte(c) {
|
|
11107
11104
|
const s = tv(N1);
|
|
11108
11105
|
return SM(c != null && c.current ? c.current.$state : s || fz);
|
|
11109
11106
|
}
|
|
@@ -30379,7 +30376,7 @@ const YX = xt(ZZ, {
|
|
|
30379
30376
|
({ children: c, ...s }, t) => /* @__PURE__ */ _.createElement(YX, { ...s, ref: t }, (r) => /* @__PURE__ */ _.createElement(st.div, { ...r }, c))
|
|
30380
30377
|
);
|
|
30381
30378
|
pz.displayName = "VolumeSlider";
|
|
30382
|
-
var
|
|
30379
|
+
var yte = /* @__PURE__ */ Object.freeze({
|
|
30383
30380
|
__proto__: null,
|
|
30384
30381
|
Preview: rx,
|
|
30385
30382
|
Root: pz,
|
|
@@ -30513,7 +30510,7 @@ const Tz = _.forwardRef(
|
|
|
30513
30510
|
}
|
|
30514
30511
|
);
|
|
30515
30512
|
Tz.displayName = "SliderVideoProvider";
|
|
30516
|
-
var
|
|
30513
|
+
var gte = /* @__PURE__ */ Object.freeze({
|
|
30517
30514
|
__proto__: null,
|
|
30518
30515
|
ChapterTitle: Cz,
|
|
30519
30516
|
Chapters: yz,
|
|
@@ -30630,11 +30627,11 @@ const Ez = _.forwardRef(
|
|
|
30630
30627
|
}
|
|
30631
30628
|
);
|
|
30632
30629
|
Ez.displayName = "TimeText";
|
|
30633
|
-
function
|
|
30630
|
+
function Cte() {
|
|
30634
30631
|
const c = yh();
|
|
30635
30632
|
return (c == null ? void 0 : c.player) || null;
|
|
30636
30633
|
}
|
|
30637
|
-
function
|
|
30634
|
+
function Ste({ off: c = !0 } = {}) {
|
|
30638
30635
|
const s = yh(), { textTracks: t, textTrack: r } = s.$state, f = cn(t);
|
|
30639
30636
|
return cn(r), _.useMemo(() => {
|
|
30640
30637
|
const v = f.filter(os), g = v.map((T) => ({
|
|
@@ -30858,7 +30855,7 @@ const QJ = _.forwardRef(
|
|
|
30858
30855
|
t
|
|
30859
30856
|
)
|
|
30860
30857
|
);
|
|
30861
|
-
var
|
|
30858
|
+
var bte = /* @__PURE__ */ Object.freeze({
|
|
30862
30859
|
__proto__: null,
|
|
30863
30860
|
Root: QJ,
|
|
30864
30861
|
Track: YJ,
|
|
@@ -30936,14 +30933,14 @@ const ox = Rz.prototype;
|
|
|
30936
30933
|
on(ox, "value");
|
|
30937
30934
|
on(ox, "disabled");
|
|
30938
30935
|
Fi(ox, "getOptions");
|
|
30939
|
-
function
|
|
30936
|
+
function wte(c) {
|
|
30940
30937
|
const s = yh(), t = _.useRef(null);
|
|
30941
30938
|
return t.current || (t.current = new YM()), _.useEffect(() => {
|
|
30942
30939
|
const r = c, f = r instanceof Jk, v = f ? r : s == null ? void 0 : s.player;
|
|
30943
30940
|
t.current.setPlayer(v ?? null), t.current.setTarget(null);
|
|
30944
30941
|
}, [s, c]), t.current;
|
|
30945
30942
|
}
|
|
30946
|
-
function
|
|
30943
|
+
function Tte({
|
|
30947
30944
|
auto: c = !0,
|
|
30948
30945
|
sort: s = "descending"
|
|
30949
30946
|
} = {}) {
|
|
@@ -30998,7 +30995,7 @@ function Ete({
|
|
|
30998
30995
|
function _D(c) {
|
|
30999
30996
|
return c.height + "_" + c.bitrate;
|
|
31000
30997
|
}
|
|
31001
|
-
function
|
|
30998
|
+
function Ete({
|
|
31002
30999
|
rates: c = xz,
|
|
31003
31000
|
normalLabel: s = "Normal"
|
|
31004
31001
|
} = {}) {
|
|
@@ -32934,22 +32931,21 @@ export {
|
|
|
32934
32931
|
oee as P,
|
|
32935
32932
|
iee as T,
|
|
32936
32933
|
ex as a,
|
|
32937
|
-
|
|
32938
|
-
|
|
32939
|
-
|
|
32940
|
-
|
|
32934
|
+
wte as b,
|
|
32935
|
+
Ete as c,
|
|
32936
|
+
Ste as d,
|
|
32937
|
+
Tte as e,
|
|
32941
32938
|
CJ as f,
|
|
32942
32939
|
Gk as g,
|
|
32943
|
-
|
|
32940
|
+
Wee as h,
|
|
32944
32941
|
os as i,
|
|
32945
|
-
|
|
32946
|
-
|
|
32942
|
+
Kee as j,
|
|
32943
|
+
Zee as k,
|
|
32947
32944
|
Xee as l,
|
|
32948
|
-
|
|
32949
|
-
|
|
32950
|
-
|
|
32951
|
-
|
|
32952
|
-
Cte as
|
|
32953
|
-
|
|
32954
|
-
gte as v
|
|
32945
|
+
tee as m,
|
|
32946
|
+
vte as n,
|
|
32947
|
+
bte as s,
|
|
32948
|
+
gte as t,
|
|
32949
|
+
Cte as u,
|
|
32950
|
+
yte as v
|
|
32955
32951
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/studio-player",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Next generation media player for Instructure",
|
|
6
6
|
"module": "./dist/studio-player.es.js",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"@vidstack/react": "1.12.13",
|
|
43
43
|
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
44
44
|
"@vitest/expect": "^3.0.2",
|
|
45
|
-
"dashjs": "^5.0.0",
|
|
46
45
|
"dotenv": "^16.4.7",
|
|
47
46
|
"eslint": "^9.18.0",
|
|
48
47
|
"eslint-plugin-import": "^2.31.0",
|
|
@@ -75,7 +74,7 @@
|
|
|
75
74
|
"react-i18next": "^15.4.0"
|
|
76
75
|
},
|
|
77
76
|
"scripts": {
|
|
78
|
-
"build": "vite build",
|
|
77
|
+
"build": "NODE_ENV=production vite build",
|
|
79
78
|
"build-storybook": "storybook build",
|
|
80
79
|
"check:types": "tsc --noEmit",
|
|
81
80
|
"lint": "pnpm check:types && eslint",
|