@mux/mux-player-react 2.3.2 → 2.3.3-canary.0-9c4cb2a
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/CHANGELOG.md +577 -0
- package/dist/{-QZYLXMND.mjs → -KMHBXP6N.mjs} +2 -2
- package/dist/cjs.json +280 -0
- package/dist/esm.json +294 -0
- package/dist/esm.lazy.json +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/lazy.mjs +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -5
- package/LICENSE +0 -9
- /package/dist/{-QZYLXMND.mjs.map → -KMHBXP6N.mjs.map} +0 -0
package/dist/cjs.json
ADDED
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputs": {
|
|
3
|
+
"src/common/utils.ts": {
|
|
4
|
+
"bytes": 2048,
|
|
5
|
+
"imports": [],
|
|
6
|
+
"format": "esm"
|
|
7
|
+
},
|
|
8
|
+
"src/useCombinedRefs.ts": {
|
|
9
|
+
"bytes": 892,
|
|
10
|
+
"imports": [
|
|
11
|
+
{
|
|
12
|
+
"path": "react",
|
|
13
|
+
"kind": "import-statement",
|
|
14
|
+
"external": true
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"format": "esm"
|
|
18
|
+
},
|
|
19
|
+
"src/useObjectPropEffect.ts": {
|
|
20
|
+
"bytes": 1850,
|
|
21
|
+
"imports": [
|
|
22
|
+
{
|
|
23
|
+
"path": "react",
|
|
24
|
+
"kind": "import-statement",
|
|
25
|
+
"external": true
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"format": "esm"
|
|
29
|
+
},
|
|
30
|
+
"src/env.ts": {
|
|
31
|
+
"bytes": 245,
|
|
32
|
+
"imports": [],
|
|
33
|
+
"format": "esm"
|
|
34
|
+
},
|
|
35
|
+
"src/index.tsx": {
|
|
36
|
+
"bytes": 9890,
|
|
37
|
+
"imports": [
|
|
38
|
+
{
|
|
39
|
+
"path": "react",
|
|
40
|
+
"kind": "import-statement",
|
|
41
|
+
"external": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"path": "@mux/playback-core",
|
|
45
|
+
"kind": "import-statement",
|
|
46
|
+
"external": true
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"path": "@mux/mux-player",
|
|
50
|
+
"kind": "import-statement",
|
|
51
|
+
"external": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "src/common/utils.ts",
|
|
55
|
+
"kind": "import-statement",
|
|
56
|
+
"original": "./common/utils"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"path": "react",
|
|
60
|
+
"kind": "import-statement",
|
|
61
|
+
"external": true
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"path": "src/useCombinedRefs.ts",
|
|
65
|
+
"kind": "import-statement",
|
|
66
|
+
"original": "./useCombinedRefs"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "src/useObjectPropEffect.ts",
|
|
70
|
+
"kind": "import-statement",
|
|
71
|
+
"original": "./useObjectPropEffect"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"path": "src/env.ts",
|
|
75
|
+
"kind": "import-statement",
|
|
76
|
+
"original": "./env"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"format": "esm"
|
|
80
|
+
},
|
|
81
|
+
"src/themes/classic.ts": {
|
|
82
|
+
"bytes": 81,
|
|
83
|
+
"imports": [
|
|
84
|
+
{
|
|
85
|
+
"path": "@mux/mux-player/themes/classic",
|
|
86
|
+
"kind": "import-statement",
|
|
87
|
+
"external": true
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"format": "esm"
|
|
91
|
+
},
|
|
92
|
+
"src/themes/gerwig.ts": {
|
|
93
|
+
"bytes": 79,
|
|
94
|
+
"imports": [
|
|
95
|
+
{
|
|
96
|
+
"path": "@mux/mux-player/themes/gerwig",
|
|
97
|
+
"kind": "import-statement",
|
|
98
|
+
"external": true
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"format": "esm"
|
|
102
|
+
},
|
|
103
|
+
"src/themes/microvideo.ts": {
|
|
104
|
+
"bytes": 87,
|
|
105
|
+
"imports": [
|
|
106
|
+
{
|
|
107
|
+
"path": "@mux/mux-player/themes/microvideo",
|
|
108
|
+
"kind": "import-statement",
|
|
109
|
+
"external": true
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"format": "esm"
|
|
113
|
+
},
|
|
114
|
+
"src/themes/minimal.ts": {
|
|
115
|
+
"bytes": 81,
|
|
116
|
+
"imports": [
|
|
117
|
+
{
|
|
118
|
+
"path": "@mux/mux-player/themes/minimal",
|
|
119
|
+
"kind": "import-statement",
|
|
120
|
+
"external": true
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"format": "esm"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"outputs": {
|
|
127
|
+
"dist/index.cjs.js.map": {
|
|
128
|
+
"imports": [],
|
|
129
|
+
"exports": [],
|
|
130
|
+
"inputs": {},
|
|
131
|
+
"bytes": 22032
|
|
132
|
+
},
|
|
133
|
+
"dist/index.cjs.js": {
|
|
134
|
+
"imports": [
|
|
135
|
+
{
|
|
136
|
+
"path": "react",
|
|
137
|
+
"kind": "require-call",
|
|
138
|
+
"external": true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"path": "@mux/playback-core",
|
|
142
|
+
"kind": "require-call",
|
|
143
|
+
"external": true
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"path": "@mux/mux-player",
|
|
147
|
+
"kind": "require-call",
|
|
148
|
+
"external": true
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"path": "react",
|
|
152
|
+
"kind": "require-call",
|
|
153
|
+
"external": true
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"path": "react",
|
|
157
|
+
"kind": "require-call",
|
|
158
|
+
"external": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"path": "react",
|
|
162
|
+
"kind": "require-call",
|
|
163
|
+
"external": true
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"exports": [],
|
|
167
|
+
"entryPoint": "src/index.tsx",
|
|
168
|
+
"inputs": {
|
|
169
|
+
"src/index.tsx": {
|
|
170
|
+
"bytesInOutput": 2068
|
|
171
|
+
},
|
|
172
|
+
"src/common/utils.ts": {
|
|
173
|
+
"bytesInOutput": 532
|
|
174
|
+
},
|
|
175
|
+
"src/useCombinedRefs.ts": {
|
|
176
|
+
"bytesInOutput": 170
|
|
177
|
+
},
|
|
178
|
+
"src/useObjectPropEffect.ts": {
|
|
179
|
+
"bytesInOutput": 599
|
|
180
|
+
},
|
|
181
|
+
"src/env.ts": {
|
|
182
|
+
"bytesInOutput": 71
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"bytes": 4062
|
|
186
|
+
},
|
|
187
|
+
"dist/themes/classic.cjs.js.map": {
|
|
188
|
+
"imports": [],
|
|
189
|
+
"exports": [],
|
|
190
|
+
"inputs": {},
|
|
191
|
+
"bytes": 374
|
|
192
|
+
},
|
|
193
|
+
"dist/themes/classic.cjs.js": {
|
|
194
|
+
"imports": [
|
|
195
|
+
{
|
|
196
|
+
"path": "@mux/mux-player/themes/classic",
|
|
197
|
+
"kind": "require-call",
|
|
198
|
+
"external": true
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"exports": [],
|
|
202
|
+
"entryPoint": "src/themes/classic.ts",
|
|
203
|
+
"inputs": {
|
|
204
|
+
"src/themes/classic.ts": {
|
|
205
|
+
"bytesInOutput": 110
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"bytes": 576
|
|
209
|
+
},
|
|
210
|
+
"dist/themes/gerwig.cjs.js.map": {
|
|
211
|
+
"imports": [],
|
|
212
|
+
"exports": [],
|
|
213
|
+
"inputs": {},
|
|
214
|
+
"bytes": 368
|
|
215
|
+
},
|
|
216
|
+
"dist/themes/gerwig.cjs.js": {
|
|
217
|
+
"imports": [
|
|
218
|
+
{
|
|
219
|
+
"path": "@mux/mux-player/themes/gerwig",
|
|
220
|
+
"kind": "require-call",
|
|
221
|
+
"external": true
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"exports": [],
|
|
225
|
+
"entryPoint": "src/themes/gerwig.ts",
|
|
226
|
+
"inputs": {
|
|
227
|
+
"src/themes/gerwig.ts": {
|
|
228
|
+
"bytesInOutput": 108
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"bytes": 573
|
|
232
|
+
},
|
|
233
|
+
"dist/themes/microvideo.cjs.js.map": {
|
|
234
|
+
"imports": [],
|
|
235
|
+
"exports": [],
|
|
236
|
+
"inputs": {},
|
|
237
|
+
"bytes": 392
|
|
238
|
+
},
|
|
239
|
+
"dist/themes/microvideo.cjs.js": {
|
|
240
|
+
"imports": [
|
|
241
|
+
{
|
|
242
|
+
"path": "@mux/mux-player/themes/microvideo",
|
|
243
|
+
"kind": "require-call",
|
|
244
|
+
"external": true
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"exports": [],
|
|
248
|
+
"entryPoint": "src/themes/microvideo.ts",
|
|
249
|
+
"inputs": {
|
|
250
|
+
"src/themes/microvideo.ts": {
|
|
251
|
+
"bytesInOutput": 116
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"bytes": 585
|
|
255
|
+
},
|
|
256
|
+
"dist/themes/minimal.cjs.js.map": {
|
|
257
|
+
"imports": [],
|
|
258
|
+
"exports": [],
|
|
259
|
+
"inputs": {},
|
|
260
|
+
"bytes": 374
|
|
261
|
+
},
|
|
262
|
+
"dist/themes/minimal.cjs.js": {
|
|
263
|
+
"imports": [
|
|
264
|
+
{
|
|
265
|
+
"path": "@mux/mux-player/themes/minimal",
|
|
266
|
+
"kind": "require-call",
|
|
267
|
+
"external": true
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"exports": [],
|
|
271
|
+
"entryPoint": "src/themes/minimal.ts",
|
|
272
|
+
"inputs": {
|
|
273
|
+
"src/themes/minimal.ts": {
|
|
274
|
+
"bytesInOutput": 110
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"bytes": 576
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
package/dist/esm.json
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
{
|
|
2
|
+
"inputs": {
|
|
3
|
+
"src/common/utils.ts": {
|
|
4
|
+
"bytes": 2048,
|
|
5
|
+
"imports": [],
|
|
6
|
+
"format": "esm"
|
|
7
|
+
},
|
|
8
|
+
"src/useCombinedRefs.ts": {
|
|
9
|
+
"bytes": 892,
|
|
10
|
+
"imports": [
|
|
11
|
+
{
|
|
12
|
+
"path": "react",
|
|
13
|
+
"kind": "import-statement",
|
|
14
|
+
"external": true
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"format": "esm"
|
|
18
|
+
},
|
|
19
|
+
"src/useObjectPropEffect.ts": {
|
|
20
|
+
"bytes": 1850,
|
|
21
|
+
"imports": [
|
|
22
|
+
{
|
|
23
|
+
"path": "react",
|
|
24
|
+
"kind": "import-statement",
|
|
25
|
+
"external": true
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"format": "esm"
|
|
29
|
+
},
|
|
30
|
+
"src/env.ts": {
|
|
31
|
+
"bytes": 245,
|
|
32
|
+
"imports": [],
|
|
33
|
+
"format": "esm"
|
|
34
|
+
},
|
|
35
|
+
"src/index.tsx": {
|
|
36
|
+
"bytes": 9890,
|
|
37
|
+
"imports": [
|
|
38
|
+
{
|
|
39
|
+
"path": "react",
|
|
40
|
+
"kind": "import-statement",
|
|
41
|
+
"external": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"path": "@mux/playback-core",
|
|
45
|
+
"kind": "import-statement",
|
|
46
|
+
"external": true
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"path": "@mux/mux-player",
|
|
50
|
+
"kind": "import-statement",
|
|
51
|
+
"external": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "src/common/utils.ts",
|
|
55
|
+
"kind": "import-statement",
|
|
56
|
+
"original": "./common/utils"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"path": "react",
|
|
60
|
+
"kind": "import-statement",
|
|
61
|
+
"external": true
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"path": "src/useCombinedRefs.ts",
|
|
65
|
+
"kind": "import-statement",
|
|
66
|
+
"original": "./useCombinedRefs"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "src/useObjectPropEffect.ts",
|
|
70
|
+
"kind": "import-statement",
|
|
71
|
+
"original": "./useObjectPropEffect"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"path": "src/env.ts",
|
|
75
|
+
"kind": "import-statement",
|
|
76
|
+
"original": "./env"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"format": "esm"
|
|
80
|
+
},
|
|
81
|
+
"src/themes/classic.ts": {
|
|
82
|
+
"bytes": 81,
|
|
83
|
+
"imports": [
|
|
84
|
+
{
|
|
85
|
+
"path": "@mux/mux-player/themes/classic",
|
|
86
|
+
"kind": "import-statement",
|
|
87
|
+
"external": true
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"format": "esm"
|
|
91
|
+
},
|
|
92
|
+
"src/themes/gerwig.ts": {
|
|
93
|
+
"bytes": 79,
|
|
94
|
+
"imports": [
|
|
95
|
+
{
|
|
96
|
+
"path": "@mux/mux-player/themes/gerwig",
|
|
97
|
+
"kind": "import-statement",
|
|
98
|
+
"external": true
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"format": "esm"
|
|
102
|
+
},
|
|
103
|
+
"src/themes/microvideo.ts": {
|
|
104
|
+
"bytes": 87,
|
|
105
|
+
"imports": [
|
|
106
|
+
{
|
|
107
|
+
"path": "@mux/mux-player/themes/microvideo",
|
|
108
|
+
"kind": "import-statement",
|
|
109
|
+
"external": true
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"format": "esm"
|
|
113
|
+
},
|
|
114
|
+
"src/themes/minimal.ts": {
|
|
115
|
+
"bytes": 81,
|
|
116
|
+
"imports": [
|
|
117
|
+
{
|
|
118
|
+
"path": "@mux/mux-player/themes/minimal",
|
|
119
|
+
"kind": "import-statement",
|
|
120
|
+
"external": true
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"format": "esm"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"outputs": {
|
|
127
|
+
"dist/index.mjs.map": {
|
|
128
|
+
"imports": [],
|
|
129
|
+
"exports": [],
|
|
130
|
+
"inputs": {},
|
|
131
|
+
"bytes": 22041
|
|
132
|
+
},
|
|
133
|
+
"dist/index.mjs": {
|
|
134
|
+
"imports": [
|
|
135
|
+
{
|
|
136
|
+
"path": "react",
|
|
137
|
+
"kind": "import-statement",
|
|
138
|
+
"external": true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"path": "@mux/playback-core",
|
|
142
|
+
"kind": "import-statement",
|
|
143
|
+
"external": true
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"path": "@mux/mux-player",
|
|
147
|
+
"kind": "import-statement",
|
|
148
|
+
"external": true
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"path": "react",
|
|
152
|
+
"kind": "import-statement",
|
|
153
|
+
"external": true
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"path": "react",
|
|
157
|
+
"kind": "import-statement",
|
|
158
|
+
"external": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"path": "react",
|
|
162
|
+
"kind": "import-statement",
|
|
163
|
+
"external": true
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"exports": [
|
|
167
|
+
"MaxResolution",
|
|
168
|
+
"MediaError",
|
|
169
|
+
"MinResolution",
|
|
170
|
+
"RenditionOrder",
|
|
171
|
+
"default"
|
|
172
|
+
],
|
|
173
|
+
"entryPoint": "src/index.tsx",
|
|
174
|
+
"inputs": {
|
|
175
|
+
"src/index.tsx": {
|
|
176
|
+
"bytesInOutput": 1921
|
|
177
|
+
},
|
|
178
|
+
"src/common/utils.ts": {
|
|
179
|
+
"bytesInOutput": 522
|
|
180
|
+
},
|
|
181
|
+
"src/useCombinedRefs.ts": {
|
|
182
|
+
"bytesInOutput": 175
|
|
183
|
+
},
|
|
184
|
+
"src/useObjectPropEffect.ts": {
|
|
185
|
+
"bytesInOutput": 602
|
|
186
|
+
},
|
|
187
|
+
"src/env.ts": {
|
|
188
|
+
"bytesInOutput": 71
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"bytes": 3427
|
|
192
|
+
},
|
|
193
|
+
"dist/themes/classic.mjs.map": {
|
|
194
|
+
"imports": [],
|
|
195
|
+
"exports": [],
|
|
196
|
+
"inputs": {},
|
|
197
|
+
"bytes": 251
|
|
198
|
+
},
|
|
199
|
+
"dist/themes/classic.mjs": {
|
|
200
|
+
"imports": [
|
|
201
|
+
{
|
|
202
|
+
"path": "@mux/mux-player/themes/classic",
|
|
203
|
+
"kind": "import-statement",
|
|
204
|
+
"external": true
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"exports": [
|
|
208
|
+
"default"
|
|
209
|
+
],
|
|
210
|
+
"entryPoint": "src/themes/classic.ts",
|
|
211
|
+
"inputs": {
|
|
212
|
+
"src/themes/classic.ts": {
|
|
213
|
+
"bytesInOutput": 55
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"bytes": 114
|
|
217
|
+
},
|
|
218
|
+
"dist/themes/gerwig.mjs.map": {
|
|
219
|
+
"imports": [],
|
|
220
|
+
"exports": [],
|
|
221
|
+
"inputs": {},
|
|
222
|
+
"bytes": 247
|
|
223
|
+
},
|
|
224
|
+
"dist/themes/gerwig.mjs": {
|
|
225
|
+
"imports": [
|
|
226
|
+
{
|
|
227
|
+
"path": "@mux/mux-player/themes/gerwig",
|
|
228
|
+
"kind": "import-statement",
|
|
229
|
+
"external": true
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"exports": [
|
|
233
|
+
"default"
|
|
234
|
+
],
|
|
235
|
+
"entryPoint": "src/themes/gerwig.ts",
|
|
236
|
+
"inputs": {
|
|
237
|
+
"src/themes/gerwig.ts": {
|
|
238
|
+
"bytesInOutput": 53
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"bytes": 111
|
|
242
|
+
},
|
|
243
|
+
"dist/themes/microvideo.mjs.map": {
|
|
244
|
+
"imports": [],
|
|
245
|
+
"exports": [],
|
|
246
|
+
"inputs": {},
|
|
247
|
+
"bytes": 263
|
|
248
|
+
},
|
|
249
|
+
"dist/themes/microvideo.mjs": {
|
|
250
|
+
"imports": [
|
|
251
|
+
{
|
|
252
|
+
"path": "@mux/mux-player/themes/microvideo",
|
|
253
|
+
"kind": "import-statement",
|
|
254
|
+
"external": true
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"exports": [
|
|
258
|
+
"default"
|
|
259
|
+
],
|
|
260
|
+
"entryPoint": "src/themes/microvideo.ts",
|
|
261
|
+
"inputs": {
|
|
262
|
+
"src/themes/microvideo.ts": {
|
|
263
|
+
"bytesInOutput": 61
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"bytes": 123
|
|
267
|
+
},
|
|
268
|
+
"dist/themes/minimal.mjs.map": {
|
|
269
|
+
"imports": [],
|
|
270
|
+
"exports": [],
|
|
271
|
+
"inputs": {},
|
|
272
|
+
"bytes": 251
|
|
273
|
+
},
|
|
274
|
+
"dist/themes/minimal.mjs": {
|
|
275
|
+
"imports": [
|
|
276
|
+
{
|
|
277
|
+
"path": "@mux/mux-player/themes/minimal",
|
|
278
|
+
"kind": "import-statement",
|
|
279
|
+
"external": true
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"exports": [
|
|
283
|
+
"default"
|
|
284
|
+
],
|
|
285
|
+
"entryPoint": "src/themes/minimal.ts",
|
|
286
|
+
"inputs": {
|
|
287
|
+
"src/themes/minimal.ts": {
|
|
288
|
+
"bytesInOutput": 55
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"bytes": 114
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
package/dist/esm.lazy.json
CHANGED
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"external": true
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
|
-
"path": "dist/-
|
|
176
|
+
"path": "dist/-KMHBXP6N.mjs",
|
|
177
177
|
"kind": "dynamic-import"
|
|
178
178
|
}
|
|
179
179
|
],
|
|
@@ -197,13 +197,13 @@
|
|
|
197
197
|
},
|
|
198
198
|
"bytes": 2304
|
|
199
199
|
},
|
|
200
|
-
"dist/-
|
|
200
|
+
"dist/-KMHBXP6N.mjs.map": {
|
|
201
201
|
"imports": [],
|
|
202
202
|
"exports": [],
|
|
203
203
|
"inputs": {},
|
|
204
204
|
"bytes": 22041
|
|
205
205
|
},
|
|
206
|
-
"dist/-
|
|
206
|
+
"dist/-KMHBXP6N.mjs": {
|
|
207
207
|
"imports": [
|
|
208
208
|
{
|
|
209
209
|
"path": "react",
|
package/dist/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var ne=Object.create;var c=Object.defineProperty;var te=Object.getOwnPropertyDescriptor;var re=Object.getOwnPropertyNames;var ae=Object.getPrototypeOf,oe=Object.prototype.hasOwnProperty;var ie=(e,n)=>{for(var t in n)c(e,t,{get:n[t],enumerable:!0})},E=(e,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of re(n))!oe.call(e,a)&&a!==t&&c(e,a,{get:()=>n[a],enumerable:!(o=te(n,a))||o.enumerable});return e};var se=(e,n,t)=>(t=e!=null?ne(ae(e)):{},E(n||!e||!e.__esModule?c(t,"default",{value:e,enumerable:!0}):t,e)),le=e=>E(c({},"__esModule",{value:!0}),e);var Ce={};ie(Ce,{MaxResolution:()=>d.MaxResolution,MediaError:()=>x.MediaError,MinResolution:()=>d.MinResolution,RenditionOrder:()=>d.RenditionOrder,default:()=>he});module.exports=le(Ce);var y=se(require("react")),d=require("@mux/playback-core"),x=require("@mux/mux-player");var g={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},ue=e=>e==null,ye=(e,n)=>ue(n)?!1:e in n,de=e=>e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`),ce=(e,n)=>{if(!(typeof n=="boolean"&&!n)){if(ye(e,g))return g[e];if(typeof n!=null)return/[A-Z]/.test(e)?de(e):e}};var pe=(e,n)=>typeof e=="boolean"?"":e,f=(e={})=>Object.entries(e).reduce((n,[t,o])=>{let a=ce(t,o);if(!a)return n;let s=pe(o,t);return n[a]=s,n},{});var b=require("react");var p=require("react"),M=(...e)=>{let n=(0,p.useRef)(null);return(0,p.useEffect)(()=>{e.forEach(t=>{t&&(typeof t=="function"?t(n.current):t.current=n.current)})},[e]),n};var P=require("react"),me=Object.prototype.hasOwnProperty,Ee=(e,n)=>{if(Object.is(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;if(Array.isArray(e))return!Array.isArray(n)||e.length!==n.length?!1:e.some((a,s)=>n[s]===a);let t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;for(let a=0;a<t.length;a++)if(!me.call(n,t[a])||!Object.is(e[t[a]],n[t[a]]))return!1;return!0},m=(e,n,t)=>!Ee(n,e[t]),ge=(e,n,t)=>{e[t]=n},fe=(e,n,t,o=ge,a=m)=>(0,P.useEffect)(()=>{let s=t==null?void 0:t.current;s&&a(s,n,e)&&o(s,n,e)},[t==null?void 0:t.current,n]),i=fe;var Me=()=>{try{return"2.3.
|
|
1
|
+
"use strict";var ne=Object.create;var c=Object.defineProperty;var te=Object.getOwnPropertyDescriptor;var re=Object.getOwnPropertyNames;var ae=Object.getPrototypeOf,oe=Object.prototype.hasOwnProperty;var ie=(e,n)=>{for(var t in n)c(e,t,{get:n[t],enumerable:!0})},E=(e,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of re(n))!oe.call(e,a)&&a!==t&&c(e,a,{get:()=>n[a],enumerable:!(o=te(n,a))||o.enumerable});return e};var se=(e,n,t)=>(t=e!=null?ne(ae(e)):{},E(n||!e||!e.__esModule?c(t,"default",{value:e,enumerable:!0}):t,e)),le=e=>E(c({},"__esModule",{value:!0}),e);var Ce={};ie(Ce,{MaxResolution:()=>d.MaxResolution,MediaError:()=>x.MediaError,MinResolution:()=>d.MinResolution,RenditionOrder:()=>d.RenditionOrder,default:()=>he});module.exports=le(Ce);var y=se(require("react")),d=require("@mux/playback-core"),x=require("@mux/mux-player");var g={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},ue=e=>e==null,ye=(e,n)=>ue(n)?!1:e in n,de=e=>e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`),ce=(e,n)=>{if(!(typeof n=="boolean"&&!n)){if(ye(e,g))return g[e];if(typeof n!=null)return/[A-Z]/.test(e)?de(e):e}};var pe=(e,n)=>typeof e=="boolean"?"":e,f=(e={})=>Object.entries(e).reduce((n,[t,o])=>{let a=ce(t,o);if(!a)return n;let s=pe(o,t);return n[a]=s,n},{});var b=require("react");var p=require("react"),M=(...e)=>{let n=(0,p.useRef)(null);return(0,p.useEffect)(()=>{e.forEach(t=>{t&&(typeof t=="function"?t(n.current):t.current=n.current)})},[e]),n};var P=require("react"),me=Object.prototype.hasOwnProperty,Ee=(e,n)=>{if(Object.is(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;if(Array.isArray(e))return!Array.isArray(n)||e.length!==n.length?!1:e.some((a,s)=>n[s]===a);let t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;for(let a=0;a<t.length;a++)if(!me.call(n,t[a])||!Object.is(e[t[a]],n[t[a]]))return!1;return!0},m=(e,n,t)=>!Ee(n,e[t]),ge=(e,n,t)=>{e[t]=n},fe=(e,n,t,o=ge,a=m)=>(0,P.useEffect)(()=>{let s=t==null?void 0:t.current;s&&a(s,n,e)&&o(s,n,e)},[t==null?void 0:t.current,n]),i=fe;var Me=()=>{try{return"2.3.3"}catch{}return"UNKNOWN"},Pe=Me(),v=()=>Pe;var ve=y.default.forwardRef(({children:e,...n},t)=>y.default.createElement("mux-player",f({...n,ref:t}),e)),r=(e,n,t)=>(0,y.useEffect)(()=>{let o=n==null?void 0:n.current;if(!(!o||!t))return o.addEventListener(e,t),()=>{o.removeEventListener(e,t)}},[n==null?void 0:n.current,t]),xe=(e,n)=>{let{onAbort:t,onCanPlay:o,onCanPlayThrough:a,onEmptied:s,onLoadStart:R,onLoadedData:T,onLoadedMetadata:h,onProgress:C,onDurationChange:k,onVolumeChange:L,onRateChange:O,onResize:S,onWaiting:G,onPlay:w,onPlaying:V,onTimeUpdate:A,onPause:N,onSeeking:I,onSeeked:K,onStalled:D,onSuspend:U,onEnded:_,onError:H,onCuePointChange:j,onCuePointsChange:z,metadata:F,tokens:W,paused:Z,playbackId:q,playbackRates:J,currentTime:Y,themeProps:$,extraSourceParams:Q,_hlsConfig:X,...B}=n;return i("playbackRates",J,e),i("metadata",F,e),i("extraSourceParams",Q,e),i("_hlsConfig",X,e),i("themeProps",$,e),i("tokens",W,e),i("playbackId",q,e),i("paused",Z,e,(l,u)=>{u!=null&&(u?l.pause():l.play())},(l,u,ee)=>l.hasAttribute("autoplay")&&!l.hasPlayed?!1:m(l,u,ee)),i("currentTime",Y,e,(l,u)=>{u!=null&&(l.currentTime=u)}),r("abort",e,t),r("canplay",e,o),r("canplaythrough",e,a),r("emptied",e,s),r("loadstart",e,R),r("loadeddata",e,T),r("loadedmetadata",e,h),r("progress",e,C),r("durationchange",e,k),r("volumechange",e,L),r("ratechange",e,O),r("resize",e,S),r("waiting",e,G),r("play",e,w),r("playing",e,V),r("timeupdate",e,A),r("pause",e,N),r("seeking",e,I),r("seeked",e,K),r("stalled",e,D),r("suspend",e,U),r("ended",e,_),r("error",e,H),r("cuepointchange",e,j),r("cuepointschange",e,z),[B]},be=v(),Re="mux-player-react",Te=y.default.forwardRef((e,n)=>{let t=(0,b.useRef)(null),o=M(t,n),[a]=xe(t,e);return y.default.createElement(ve,{ref:o,playerSoftwareName:Re,playerSoftwareVersion:be,...a})}),he=Te;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import y,{useEffect as le}from"react";import{MaxResolution as Re,MinResolution as Te,RenditionOrder as he}from"@mux/playback-core";import{MediaError as ke}from"@mux/mux-player";var c={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},J=e=>e==null,Y=(e,n)=>J(n)?!1:e in n,$=e=>e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`),Q=(e,n)=>{if(!(typeof n=="boolean"&&!n)){if(Y(e,c))return c[e];if(typeof n!=null)return/[A-Z]/.test(e)?$(e):e}};var X=(e,n)=>typeof e=="boolean"?"":e,p=(e={})=>Object.entries(e).reduce((n,[t,o])=>{let a=Q(t,o);if(!a)return n;let s=X(o,t);return n[a]=s,n},{});import{useRef as ue}from"react";import{useEffect as B,useRef as ee}from"react";var m=(...e)=>{let n=ee(null);return B(()=>{e.forEach(t=>{t&&(typeof t=="function"?t(n.current):t.current=n.current)})},[e]),n};import{useEffect as ne}from"react";var te=Object.prototype.hasOwnProperty,re=(e,n)=>{if(Object.is(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;if(Array.isArray(e))return!Array.isArray(n)||e.length!==n.length?!1:e.some((a,s)=>n[s]===a);let t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;for(let a=0;a<t.length;a++)if(!te.call(n,t[a])||!Object.is(e[t[a]],n[t[a]]))return!1;return!0},d=(e,n,t)=>!re(n,e[t]),ae=(e,n,t)=>{e[t]=n},oe=(e,n,t,o=ae,a=d)=>ne(()=>{let s=t==null?void 0:t.current;s&&a(s,n,e)&&o(s,n,e)},[t==null?void 0:t.current,n]),i=oe;var ie=()=>{try{return"2.3.
|
|
1
|
+
import y,{useEffect as le}from"react";import{MaxResolution as Re,MinResolution as Te,RenditionOrder as he}from"@mux/playback-core";import{MediaError as ke}from"@mux/mux-player";var c={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},J=e=>e==null,Y=(e,n)=>J(n)?!1:e in n,$=e=>e.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`),Q=(e,n)=>{if(!(typeof n=="boolean"&&!n)){if(Y(e,c))return c[e];if(typeof n!=null)return/[A-Z]/.test(e)?$(e):e}};var X=(e,n)=>typeof e=="boolean"?"":e,p=(e={})=>Object.entries(e).reduce((n,[t,o])=>{let a=Q(t,o);if(!a)return n;let s=X(o,t);return n[a]=s,n},{});import{useRef as ue}from"react";import{useEffect as B,useRef as ee}from"react";var m=(...e)=>{let n=ee(null);return B(()=>{e.forEach(t=>{t&&(typeof t=="function"?t(n.current):t.current=n.current)})},[e]),n};import{useEffect as ne}from"react";var te=Object.prototype.hasOwnProperty,re=(e,n)=>{if(Object.is(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;if(Array.isArray(e))return!Array.isArray(n)||e.length!==n.length?!1:e.some((a,s)=>n[s]===a);let t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;for(let a=0;a<t.length;a++)if(!te.call(n,t[a])||!Object.is(e[t[a]],n[t[a]]))return!1;return!0},d=(e,n,t)=>!re(n,e[t]),ae=(e,n,t)=>{e[t]=n},oe=(e,n,t,o=ae,a=d)=>ne(()=>{let s=t==null?void 0:t.current;s&&a(s,n,e)&&o(s,n,e)},[t==null?void 0:t.current,n]),i=oe;var ie=()=>{try{return"2.3.3"}catch{}return"UNKNOWN"},se=ie(),E=()=>se;var ye=y.forwardRef(({children:e,...n},t)=>y.createElement("mux-player",p({...n,ref:t}),e)),r=(e,n,t)=>le(()=>{let o=n==null?void 0:n.current;if(!(!o||!t))return o.addEventListener(e,t),()=>{o.removeEventListener(e,t)}},[n==null?void 0:n.current,t]),de=(e,n)=>{let{onAbort:t,onCanPlay:o,onCanPlayThrough:a,onEmptied:s,onLoadStart:g,onLoadedData:f,onLoadedMetadata:M,onProgress:P,onDurationChange:v,onVolumeChange:x,onRateChange:b,onResize:R,onWaiting:T,onPlay:h,onPlaying:C,onTimeUpdate:k,onPause:L,onSeeking:O,onSeeked:S,onStalled:G,onSuspend:w,onEnded:V,onError:A,onCuePointChange:N,onCuePointsChange:I,metadata:K,tokens:D,paused:U,playbackId:_,playbackRates:H,currentTime:j,themeProps:z,extraSourceParams:F,_hlsConfig:W,...Z}=n;return i("playbackRates",H,e),i("metadata",K,e),i("extraSourceParams",F,e),i("_hlsConfig",W,e),i("themeProps",z,e),i("tokens",D,e),i("playbackId",_,e),i("paused",U,e,(l,u)=>{u!=null&&(u?l.pause():l.play())},(l,u,q)=>l.hasAttribute("autoplay")&&!l.hasPlayed?!1:d(l,u,q)),i("currentTime",j,e,(l,u)=>{u!=null&&(l.currentTime=u)}),r("abort",e,t),r("canplay",e,o),r("canplaythrough",e,a),r("emptied",e,s),r("loadstart",e,g),r("loadeddata",e,f),r("loadedmetadata",e,M),r("progress",e,P),r("durationchange",e,v),r("volumechange",e,x),r("ratechange",e,b),r("resize",e,R),r("waiting",e,T),r("play",e,h),r("playing",e,C),r("timeupdate",e,k),r("pause",e,L),r("seeking",e,O),r("seeked",e,S),r("stalled",e,G),r("suspend",e,w),r("ended",e,V),r("error",e,A),r("cuepointchange",e,N),r("cuepointschange",e,I),[Z]},ce=E(),pe="mux-player-react",me=y.forwardRef((e,n)=>{let t=ue(null),o=m(t,n),[a]=de(t,e);return y.createElement(ye,{ref:o,playerSoftwareName:pe,playerSoftwareVersion:ce,...a})}),Ve=me;export{Re as MaxResolution,ke as MediaError,Te as MinResolution,he as RenditionOrder,Ve as default};
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/lazy.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import o,{useEffect as h,useState as k}from"react";import i,{Suspense as y}from"react";var m=({condition:t,fallback:r,children:n,...e})=>t?i.createElement(y,{fallback:r,...e},n):i.createElement(i.Fragment,null,r),c=m;import{useState as f,useEffect as b}from"react";var x=()=>{let[t,r]=f(!1);return b(()=>{typeof window!="undefined"&&r(!0)},[]),t},p=x;import{useState as P,useEffect as I}from"react";var g=(t,r)=>{let[n,e]=P(!1);return I(()=>{if(typeof IntersectionObserver=="function"){let a=new IntersectionObserver(([s])=>{e(s.isIntersecting)},r);return t.current&&a.observe(t.current),()=>{a.disconnect()}}},[t,r]),n},u=g;var M=o.lazy(()=>import("./-
|
|
1
|
+
import o,{useEffect as h,useState as k}from"react";import i,{Suspense as y}from"react";var m=({condition:t,fallback:r,children:n,...e})=>t?i.createElement(y,{fallback:r,...e},n):i.createElement(i.Fragment,null,r),c=m;import{useState as f,useEffect as b}from"react";var x=()=>{let[t,r]=f(!1);return b(()=>{typeof window!="undefined"&&r(!0)},[]),t},p=x;import{useState as P,useEffect as I}from"react";var g=(t,r)=>{let[n,e]=P(!1);return I(()=>{if(typeof IntersectionObserver=="function"){let a=new IntersectionObserver(([s])=>{e(s.isIntersecting)},r);return t.current&&a.observe(t.current),()=>{a.disconnect()}}},[t,r]),n},u=g;var M=o.lazy(()=>import("./-KMHBXP6N.mjs")),v=t=>{let{style:r,className:n,onIntersection:e,placeholder:a}=t,s=o.useRef(null),l=u(s);return h(()=>{l&&e&&e()},[l,e]),o.createElement(o.Fragment,null,o.createElement("mux-player",{ref:s,"data-mux-player-react-lazy-placeholder":!0,placeholder:a,style:{"--mux-player-react-lazy-placeholder":a?`url(${a});`:"",...r},className:n||"",nohotkeys:!0,"aria-hidden":!0,tabIndex:-1},o.createElement("div",{"data-mux-player-react-lazy-placeholder-overlay":!0})),o.createElement("style",null,`
|
|
2
2
|
mux-player[data-mux-player-react-lazy-placeholder] {
|
|
3
3
|
aspect-ratio: 16/9;
|
|
4
4
|
display: block;
|