@mux/mux-player-react 2.4.1 → 2.5.0-canary.0-668f35d

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 ADDED
@@ -0,0 +1,614 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [2.5.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.4.1...@mux/mux-player-react@2.5.0) (2024-04-18)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **mux-player-react/lazy:** display placeholder before JS load ([#895](https://github.com/muxinc/elements/issues/895)) ([3abdbb8](https://github.com/muxinc/elements/commit/3abdbb8653ca9003736a147236723d7d90f3dc9f))
12
+ * upgrade media-chrome, upchunk, React types ([#904](https://github.com/muxinc/elements/issues/904)) ([1090ad6](https://github.com/muxinc/elements/commit/1090ad690261acd7ac1ab68b45801c46be1c2d0c))
13
+ * upgrade mux-embed v5.2.0 & media-chrome v3.2.0 ([#897](https://github.com/muxinc/elements/issues/897)) ([fd91d94](https://github.com/muxinc/elements/commit/fd91d946ee2f8e58e05551fcb247422de6fbb761))
14
+
15
+
16
+ ### Features
17
+
18
+ * add `disable-tracking` attribute and prop ([#900](https://github.com/muxinc/elements/issues/900)) ([0f5966e](https://github.com/muxinc/elements/commit/0f5966ec6cdf3cacde017a4ddd9c388bea3168d7))
19
+
20
+
21
+
22
+
23
+
24
+ ## [2.4.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.4.0...@mux/mux-player-react@2.4.1) (2024-03-29)
25
+
26
+ **Note:** Version bump only for package @mux/mux-player-react
27
+
28
+
29
+
30
+
31
+
32
+ # [2.4.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.3.3...@mux/mux-player-react@2.4.0) (2024-03-20)
33
+
34
+
35
+ ### Features
36
+
37
+ * **mux-player-react:** Remove commented out code (feat to force mino… ([#890](https://github.com/muxinc/elements/issues/890)) ([9d48804](https://github.com/muxinc/elements/commit/9d48804bcc0d7df497caea40505599652596c195))
38
+
39
+
40
+
41
+
42
+
43
+ ## [2.3.3](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.3.2...@mux/mux-player-react@2.3.3) (2024-02-16)
44
+
45
+ **Note:** Version bump only for package @mux/mux-player-react
46
+
47
+
48
+
49
+
50
+
51
+ ## [2.3.2](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.3.1...@mux/mux-player-react@2.3.2) (2024-01-19)
52
+
53
+ **Note:** Version bump only for package @mux/mux-player-react
54
+
55
+
56
+
57
+
58
+
59
+ ## [2.3.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.3.0...@mux/mux-player-react@2.3.1) (2024-01-02)
60
+
61
+ **Note:** Version bump only for package @mux/mux-player-react
62
+
63
+
64
+
65
+
66
+
67
+ # [2.3.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.2.0...@mux/mux-player-react@2.3.0) (2023-12-07)
68
+
69
+
70
+ ### Bug Fixes
71
+
72
+ * Adding unofficial _hlsConfig to media elements and playback core. ([#833](https://github.com/muxinc/elements/issues/833)) ([b86f6e6](https://github.com/muxinc/elements/commit/b86f6e6eb2c116d1d676fbaecd46d77a0baa3416)), closes [#792](https://github.com/muxinc/elements/issues/792)
73
+ * **mux-player-react:** add disablePictureInPicture to TS def ([9fd9978](https://github.com/muxinc/elements/commit/9fd99780047d24e3efdb61ddc31ba7e8346415f3)), closes [#831](https://github.com/muxinc/elements/issues/831)
74
+
75
+
76
+ ### Features
77
+
78
+ * **mux-player, mux-player-react:** Add extra-source-params/extraSourceParams attr/prop for advanced usage. ([a5ad6ed](https://github.com/muxinc/elements/commit/a5ad6ed3da0aafb52f983c91881126d74c884157))
79
+ * **mux-player, mux-player-react:** default duration ([#844](https://github.com/muxinc/elements/issues/844)) ([8d52572](https://github.com/muxinc/elements/commit/8d52572330089076a6d05ff33fa0f596e18799ff))
80
+
81
+
82
+
83
+
84
+
85
+ # [2.2.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.1.0...@mux/mux-player-react@2.2.0) (2023-10-31)
86
+
87
+
88
+ ### Features
89
+
90
+ * **mux-player-react:** Force bump ([#806](https://github.com/muxinc/elements/issues/806)) ([101d04a](https://github.com/muxinc/elements/commit/101d04a00fb85d79fa036a40103bb054f26e0b78))
91
+
92
+
93
+
94
+
95
+
96
+ # [2.1.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.0.1...@mux/mux-player-react@2.1.0) (2023-10-24)
97
+
98
+
99
+ ### Features
100
+
101
+ * Manifest manipulation and other media stream query param props. ([954b2c8](https://github.com/muxinc/elements/commit/954b2c80d7df88bb4585c46a15dd1185d56dcf9a))
102
+
103
+
104
+
105
+
106
+
107
+ ## [2.0.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@2.0.0...@mux/mux-player-react@2.0.1) (2023-10-03)
108
+
109
+ **Note:** Version bump only for package @mux/mux-player-react
110
+
111
+
112
+
113
+
114
+
115
+ # [2.0.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.15.0...@mux/mux-player-react@2.0.0) (2023-10-03)
116
+
117
+
118
+ * feat(mux-player-react)!: bring breaking change in line with mux-player package (#789) ([3d5112e](https://github.com/muxinc/elements/commit/3d5112ea3f90d8329d6d7e8553cbce3f62f334e1)), closes [#789](https://github.com/muxinc/elements/issues/789)
119
+
120
+
121
+ ### BREAKING CHANGES
122
+
123
+ * Updates mux-player-react to match mux-player with new theme upgrade
124
+
125
+
126
+
127
+
128
+
129
+ # [1.15.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.14.2...@mux/mux-player-react@1.15.0) (2023-10-03)
130
+
131
+
132
+ ### Features
133
+
134
+ * Rename new default theme ([#771](https://github.com/muxinc/elements/issues/771)) ([b91c509](https://github.com/muxinc/elements/commit/b91c5092e005805a801982e15719984965f745e1))
135
+
136
+
137
+
138
+
139
+
140
+ ## [1.14.2](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.14.1...@mux/mux-player-react@1.14.2) (2023-09-05)
141
+
142
+ **Note:** Version bump only for package @mux/mux-player-react
143
+
144
+
145
+
146
+
147
+
148
+ ## [1.14.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.14.0...@mux/mux-player-react@1.14.1) (2023-08-30)
149
+
150
+ **Note:** Version bump only for package @mux/mux-player-react
151
+
152
+
153
+
154
+
155
+
156
+ # [1.14.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.13.0...@mux/mux-player-react@1.14.0) (2023-08-23)
157
+
158
+
159
+ ### Features
160
+
161
+ * **mux-player-react:** meaningless commit, forced minor version bump ([2e52540](https://github.com/muxinc/elements/commit/2e52540a757b2384c4eb7aaf7ddad2d0a0398391))
162
+
163
+
164
+
165
+
166
+
167
+ # [1.13.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.12.1...@mux/mux-player-react@1.13.0) (2023-08-23)
168
+
169
+
170
+ ### Features
171
+
172
+ * add poster slot for progressive enhancement ([#747](https://github.com/muxinc/elements/issues/747)) ([e90e096](https://github.com/muxinc/elements/commit/e90e096bc45776776e6fc4a8846aede2ad8ecb7c)), closes [#590](https://github.com/muxinc/elements/issues/590)
173
+
174
+
175
+
176
+
177
+
178
+ ## [1.12.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.12.0...@mux/mux-player-react@1.12.1) (2023-08-15)
179
+
180
+
181
+ ### Bug Fixes
182
+
183
+ * **mux-player-react:** Don't declare lazy exports that don't exist. ([#746](https://github.com/muxinc/elements/issues/746)) ([c0c471a](https://github.com/muxinc/elements/commit/c0c471acbad94e06628c8c2061d09d893b410a51))
184
+ * Reverting packages type (defaults to cjs) for accuracy per node … ([#745](https://github.com/muxinc/elements/issues/745)) ([9e7a171](https://github.com/muxinc/elements/commit/9e7a17113e14b711c8da9b1bdafe65ee86454b3b))
185
+
186
+
187
+
188
+
189
+
190
+ # [1.12.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.11.4...@mux/mux-player-react@1.12.0) (2023-08-14)
191
+
192
+
193
+ ### Features
194
+
195
+ * **mux-player-react:** re-export themes from player package ([#737](https://github.com/muxinc/elements/issues/737)) ([682fe1a](https://github.com/muxinc/elements/commit/682fe1ab7b772d189224178b5fcac8bc0f607fa6))
196
+
197
+
198
+
199
+
200
+
201
+ ## [1.11.4](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.11.3...@mux/mux-player-react@1.11.4) (2023-07-07)
202
+
203
+ **Note:** Version bump only for package @mux/mux-player-react
204
+
205
+
206
+
207
+
208
+
209
+ ## [1.11.3](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.11.2...@mux/mux-player-react@1.11.3) (2023-06-29)
210
+
211
+ **Note:** Version bump only for package @mux/mux-player-react
212
+
213
+
214
+
215
+
216
+
217
+ ## [1.11.2](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.11.1...@mux/mux-player-react@1.11.2) (2023-06-12)
218
+
219
+ **Note:** Version bump only for package @mux/mux-player-react
220
+
221
+
222
+
223
+
224
+
225
+ ## [1.11.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.11.0...@mux/mux-player-react@1.11.1) (2023-06-06)
226
+
227
+ **Note:** Version bump only for package @mux/mux-player-react
228
+
229
+
230
+
231
+
232
+
233
+ # [1.11.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.10.1...@mux/mux-player-react@1.11.0) (2023-05-08)
234
+
235
+
236
+ ### Features
237
+
238
+ * add a no-volume-pref attribute to turn of storing volume in localStorage ([#686](https://github.com/muxinc/elements/issues/686)) ([e9c2150](https://github.com/muxinc/elements/commit/e9c2150ba36615107f05d99baaa8a4432d71138d))
239
+
240
+
241
+
242
+
243
+
244
+ ## [1.10.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.10.0...@mux/mux-player-react@1.10.1) (2023-04-24)
245
+
246
+ **Note:** Version bump only for package @mux/mux-player-react
247
+
248
+
249
+
250
+
251
+
252
+ # [1.10.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.9.0...@mux/mux-player-react@1.10.0) (2023-04-14)
253
+
254
+
255
+ ### Bug Fixes
256
+
257
+ * **mux-player-react:** Don't "reset" currentTime to 0 unintentionally. ([#663](https://github.com/muxinc/elements/issues/663)) ([6ea8aed](https://github.com/muxinc/elements/commit/6ea8aedbe8e62a33bd8de630eddaadf823a738a6))
258
+
259
+
260
+ ### Features
261
+
262
+ * inferred stream type ([#592](https://github.com/muxinc/elements/issues/592)) ([db4cc9f](https://github.com/muxinc/elements/commit/db4cc9f60660f2b860ecce0a5a5ef2a3a09cc40b))
263
+
264
+
265
+
266
+
267
+
268
+ # [1.9.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.8.0...@mux/mux-player-react@1.9.0) (2023-03-31)
269
+
270
+
271
+ ### Bug Fixes
272
+
273
+ * update typedefs, disable skipLibChecks in tsconfig ([#601](https://github.com/muxinc/elements/issues/601)) ([1664aec](https://github.com/muxinc/elements/commit/1664aec20e4cf4a59779848b298d4504eef24080))
274
+
275
+
276
+ ### Features
277
+
278
+ * add way to set and render MC themes ([#561](https://github.com/muxinc/elements/issues/561)) ([0ac98e9](https://github.com/muxinc/elements/commit/0ac98e9a6fd60c5ea990be3c7d5d8ae7941e447c))
279
+ * **mux-player-react:** mux player react cuepoint handlers ([#605](https://github.com/muxinc/elements/issues/605)) ([df4e6e0](https://github.com/muxinc/elements/commit/df4e6e036f7cd9b5d9dfa52e1adc56bb0a850373))
280
+
281
+
282
+
283
+
284
+
285
+ # [1.8.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.7.2...@mux/mux-player-react@1.8.0) (2023-02-15)
286
+
287
+
288
+ ### Features
289
+
290
+ * add attribute max-resolution on mux-player and mux-video ([#581](https://github.com/muxinc/elements/issues/581)) ([1936c8e](https://github.com/muxinc/elements/commit/1936c8ecb47805ee75fd04ffee514b846043efc1))
291
+
292
+
293
+
294
+
295
+
296
+ ## [1.7.2](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.7.1...@mux/mux-player-react@1.7.2) (2023-02-14)
297
+
298
+ **Note:** Version bump only for package @mux/mux-player-react
299
+
300
+
301
+
302
+
303
+
304
+ ## [1.7.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.7.0...@mux/mux-player-react@1.7.1) (2023-02-02)
305
+
306
+ **Note:** Version bump only for package @mux/mux-player-react
307
+
308
+
309
+
310
+
311
+
312
+ # [1.7.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.6.1...@mux/mux-player-react@1.7.0) (2023-02-01)
313
+
314
+
315
+ ### Features
316
+
317
+ * **mux-player-react:** Force version bump to 1.7.0 for parity with mux-player (minor code refactor for lerna). ([aba4ec0](https://github.com/muxinc/elements/commit/aba4ec0f6724928bd25f8def3685bfbccf68ec4c))
318
+ * **mux-player-react:** Force version bump to 1.7.0 for parity with mux-player. ([e7d6b3f](https://github.com/muxinc/elements/commit/e7d6b3f3eb36166c32d643de58baee9decf31fac))
319
+
320
+
321
+
322
+
323
+
324
+ ## [1.6.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.6.0...@mux/mux-player-react@1.6.1) (2023-02-01)
325
+
326
+ **Note:** Version bump only for package @mux/mux-player-react
327
+
328
+
329
+
330
+
331
+
332
+ # [1.6.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.5.1...@mux/mux-player-react@1.6.0) (2023-01-20)
333
+
334
+
335
+ ### Features
336
+
337
+ * **mux-player:** add storyboard-src attribute and corresponding prop ([#522](https://github.com/muxinc/elements/issues/522)) ([e9c3f0a](https://github.com/muxinc/elements/commit/e9c3f0afd3eb2521248996c37de1716b4ce724c4))
338
+
339
+
340
+
341
+
342
+
343
+ ## [1.5.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.5.0...@mux/mux-player-react@1.5.1) (2022-12-15)
344
+
345
+ **Note:** Version bump only for package @mux/mux-player-react
346
+
347
+
348
+
349
+
350
+
351
+ # [1.5.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.4.0...@mux/mux-player-react@1.5.0) (2022-12-13)
352
+
353
+
354
+ ### Features
355
+
356
+ * Remove experimentalCmcd and add none to preferCmcd. Update secret docs. ([2656631](https://github.com/muxinc/elements/commit/2656631968f2b7e97a07d435818ee43c16627002))
357
+
358
+
359
+
360
+
361
+
362
+ # [1.4.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.3.0...@mux/mux-player-react@1.4.0) (2022-11-21)
363
+
364
+
365
+ ### Features
366
+
367
+ * **mux-player-react:** Add prefer cmcd prop. ([4733618](https://github.com/muxinc/elements/commit/473361832e9209314106980ce3e1ff1009a40d12))
368
+
369
+
370
+
371
+
372
+
373
+ # [1.3.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.2.0...@mux/mux-player-react@1.3.0) (2022-10-25)
374
+
375
+
376
+ ### Bug Fixes
377
+
378
+ * lazy placeholder properly scoped styles ([#478](https://github.com/muxinc/elements/issues/478)) ([d0f8aa1](https://github.com/muxinc/elements/commit/d0f8aa165a66df8e4e617120bd4d19949b0bee37))
379
+
380
+
381
+ ### Features
382
+
383
+ * **mux-player-react:** Add disable cookies prop. ([ba9d46a](https://github.com/muxinc/elements/commit/ba9d46a2da652555565d5f82b6fc6550899ef4fb))
384
+ * **mux-player-react:** Add experimentalCmcd prop. ([40b44ff](https://github.com/muxinc/elements/commit/40b44ff042f57d2b265398c024117ccce9af3982))
385
+
386
+
387
+
388
+
389
+
390
+ # [1.2.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.1.3...@mux/mux-player-react@1.2.0) (2022-10-19)
391
+
392
+
393
+ ### Bug Fixes
394
+
395
+ * lazy placeholder lower specificity styles ([#465](https://github.com/muxinc/elements/issues/465)) ([6387081](https://github.com/muxinc/elements/commit/6387081f70aacac99820be40f13a8228b22109b8))
396
+ * observe media-object css variables on lazy placeholder ([#464](https://github.com/muxinc/elements/issues/464)) ([6aabbc0](https://github.com/muxinc/elements/commit/6aabbc06add2aad283f533a4186e9a397c7515b9))
397
+ * playbackRate not working on mux-player-react ([#470](https://github.com/muxinc/elements/issues/470)) ([e2c64b6](https://github.com/muxinc/elements/commit/e2c64b60bb53a66101004ed198f9bb1a08630eb2))
398
+
399
+
400
+ ### Features
401
+
402
+ * implement react lazy with mux-player-react ([21ab5da](https://github.com/muxinc/elements/commit/21ab5dad724270082f73f2aa1cec5f4a0ed3e539))
403
+
404
+
405
+
406
+
407
+
408
+ ## [1.1.3](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.1.2...@mux/mux-player-react@1.1.3) (2022-10-12)
409
+
410
+ **Note:** Version bump only for package @mux/mux-player-react
411
+
412
+ ## [1.1.2](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.1.1...@mux/mux-player-react@1.1.2) (2022-10-10)
413
+
414
+ **Note:** Version bump only for package @mux/mux-player-react
415
+
416
+ ## [1.1.1](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.1.0...@mux/mux-player-react@1.1.1) (2022-10-07)
417
+
418
+ **Note:** Version bump only for package @mux/mux-player-react
419
+
420
+ # [1.1.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.0.0...@mux/mux-player-react@1.1.0) (2022-10-07)
421
+
422
+ ### Features
423
+
424
+ - add ability to unset poster ([#447](https://github.com/muxinc/elements/issues/447)) ([d61e295](https://github.com/muxinc/elements/commit/d61e295952d59ba42ad077c4a2b7fb3bb0d7079c))
425
+
426
+ # [1.0.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@1.0.0-beta.0...@mux/mux-player-react@1.0.0) (2022-10-05)
427
+
428
+ ### Bug Fixes
429
+
430
+ - **mux-player-react:** Make currentTime prop work. ([65b098d](https://github.com/muxinc/elements/commit/65b098da731d53e93d42c3cb3882d287847ac043))
431
+ - **mux-player-react:** remove vestigial tertiaryColor from types. ([73a5155](https://github.com/muxinc/elements/commit/73a5155549a1c0fa44f8c95c9bf329ffd4543788))
432
+
433
+ ### Features
434
+
435
+ - add `prefer-playback` attribute ([#402](https://github.com/muxinc/elements/issues/402)) ([8da36d6](https://github.com/muxinc/elements/commit/8da36d6b597ddbc4ae006873fee13a971b7ec2f3))
436
+
437
+ # [1.0.0-beta.0](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.28...@mux/mux-player-react@1.0.0-beta.0) (2022-09-16)
438
+
439
+ ### Bug Fixes
440
+
441
+ - **mux-player-react:** explicitly add className to typescript types for mux-player-react (different impl from MuxVideo and MuxAudio). ([84ca6cb](https://github.com/muxinc/elements/commit/84ca6cb69a2634dade58cece3b17ae72060c79b1))
442
+
443
+ ### Features
444
+
445
+ - export gesture-layer as a part ([89e90ee](https://github.com/muxinc/elements/commit/89e90ee3268da23c8071fc9cd2f21efc534f1849)), closes [#379](https://github.com/muxinc/elements/issues/379)
446
+
447
+ # [0.1.0-beta.28](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.27...@mux/mux-player-react@0.1.0-beta.28) (2022-09-01)
448
+
449
+ ### Bug Fixes
450
+
451
+ - cjs main entrypoint for React pkgs ([#360](https://github.com/muxinc/elements/issues/360)) ([473875f](https://github.com/muxinc/elements/commit/473875f4869a6ab9b04b44a90cc52b620a15ac83))
452
+
453
+ # [0.1.0-beta.27](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.26...@mux/mux-player-react@0.1.0-beta.27) (2022-08-31)
454
+
455
+ ### Features
456
+
457
+ - Add hotkeys blocklist and turn off hotkey seeking when any live ([#341](https://github.com/muxinc/elements/issues/341)) ([ce76b1b](https://github.com/muxinc/elements/commit/ce76b1b5955179c929c91de97c06a2839990c509)), closes [#336](https://github.com/muxinc/elements/issues/336)
458
+ - **mux-player-react:** Add defaultShowRemainingTime to mux-player-react. ([7a58731](https://github.com/muxinc/elements/commit/7a58731ba6d6965942f0e3d487821dd464ce422c))
459
+ - **mux-player-react:** add missing event listeners ([03cac1a](https://github.com/muxinc/elements/commit/03cac1abeb4215ea89f03f899b9132ab18486699))
460
+ - **mux-player-react:** Add support for hideDuration and playbackRates. ([58ababc](https://github.com/muxinc/elements/commit/58ababc79c1391fda311b82c42180404d01850bb))
461
+ - **mux-player-react:** Add title type for MuxPlayer (react). ([22c80fe](https://github.com/muxinc/elements/commit/22c80fecd7c856b234a1fa2a65e7efd2b4e98f0b))
462
+ - **mux-player, mux-player-react:** make hide-duration a controlsList value. ([cb3b2f2](https://github.com/muxinc/elements/commit/cb3b2f27b804878e5a223893cc6fc75dac0a4572))
463
+ - use CSS vars to toggle off elements ([#349](https://github.com/muxinc/elements/issues/349)) ([69128d6](https://github.com/muxinc/elements/commit/69128d62ee1a9e5139d8fab3b5faf56e494dfa8b))
464
+
465
+ # [0.1.0-beta.26](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.25...@mux/mux-player-react@0.1.0-beta.26) (2022-08-03)
466
+
467
+ **Note:** Version bump only for package @mux/mux-player-react
468
+
469
+ # [0.1.0-beta.25](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.24...@mux/mux-player-react@0.1.0-beta.25) (2022-08-02)
470
+
471
+ ### Features
472
+
473
+ - types and docs for nohotkeys in mux-player-react ([a9f78d4](https://github.com/muxinc/elements/commit/a9f78d422d64bf661de59cad834aa1c819e88ff8))
474
+
475
+ # [0.1.0-beta.24](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.23...@mux/mux-player-react@0.1.0-beta.24) (2022-07-21)
476
+
477
+ ### Features
478
+
479
+ - add defaultMuted, defaultPlaybackRate props ([#252](https://github.com/muxinc/elements/issues/252)) ([1a72165](https://github.com/muxinc/elements/commit/1a7216545cba27b34bc743cf5dd6225d4dcae738))
480
+
481
+ # [0.1.0-beta.23](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.22...@mux/mux-player-react@0.1.0-beta.23) (2022-07-11)
482
+
483
+ **Note:** Version bump only for package @mux/mux-player-react
484
+
485
+ # [0.1.0-beta.22](https://github.com/muxinc/elements/compare/@mux/mux-player-react@0.1.0-beta.21...@mux/mux-player-react@0.1.0-beta.22) (2022-07-05)
486
+
487
+ **Note:** Version bump only for package @mux/mux-player-react
488
+
489
+ # 0.1.0-beta.21 (2022-07-05)
490
+
491
+ ### Bug Fixes
492
+
493
+ - enable cast docs + cast fix ([#253](https://github.com/muxinc/elements/issues/253)) ([421d515](https://github.com/muxinc/elements/commit/421d515cc4700cf9d7ca4f0d09aa600ec4adac7b))
494
+ - **mux-player-react:** Missing preload prop type def. ([19b2e15](https://github.com/muxinc/elements/commit/19b2e15dc844e6fb0f90e9ad62a436587260094a))
495
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
496
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
497
+ - update react peerDependencies to allow ^18 ([1cfb019](https://github.com/muxinc/elements/commit/1cfb019b71cf9aa280abccaf4a7818d585b56d86))
498
+
499
+ ### Features
500
+
501
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
502
+ - default-hidden-captions to turn off showing captions by default ([#98](https://github.com/muxinc/elements/issues/98)) ([9edc3cd](https://github.com/muxinc/elements/commit/9edc3cd008e47234472b14784ea89493736599cb))
503
+ - Extended autoplay options ([#116](https://github.com/muxinc/elements/issues/116)) ([475e838](https://github.com/muxinc/elements/commit/475e83884f641c578fa601c9501147d485fc1831))
504
+ - **mux-player-react:** Add audio only. Cleanup StreamTypes source of truth. ([4f37d7f](https://github.com/muxinc/elements/commit/4f37d7f10ef66eef48af0dd9cf1efc79322b660d))
505
+ - **mux-player-react:** Add basic support for custom video domains. ([ac61aff](https://github.com/muxinc/elements/commit/ac61affffdd38ef0df3151d2f75023f7d2772688))
506
+ - **mux-player-react:** Add thumbnail-time support to mux-player-react. Document prop. ([d1c1a4c](https://github.com/muxinc/elements/commit/d1c1a4c65b200c59bab7cc68453c0e307eb75ae4))
507
+
508
+ ### Reverts
509
+
510
+ - Revert "Publish" ([42fc528](https://github.com/muxinc/elements/commit/42fc528216346ff52d967cec5392a1191f74a1c0))
511
+
512
+ # [0.1.0-beta.20](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.19...@mux-elements/mux-player-react@0.1.0-beta.20) (2022-06-23)
513
+
514
+ ### Bug Fixes
515
+
516
+ - enable cast docs + cast fix ([#253](https://github.com/muxinc/elements/issues/253)) ([421d515](https://github.com/muxinc/elements/commit/421d515cc4700cf9d7ca4f0d09aa600ec4adac7b))
517
+
518
+ ### Features
519
+
520
+ - **mux-player-react:** Add basic support for custom video domains. ([ac61aff](https://github.com/muxinc/elements/commit/ac61affffdd38ef0df3151d2f75023f7d2772688))
521
+
522
+ # [0.1.0-beta.19](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.18...@mux-elements/mux-player-react@0.1.0-beta.19) (2022-06-07)
523
+
524
+ **Note:** Version bump only for package @mux-elements/mux-player-react
525
+
526
+ # [0.1.0-beta.18](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.17...@mux-elements/mux-player-react@0.1.0-beta.18) (2022-06-06)
527
+
528
+ ### Features
529
+
530
+ - **mux-player-react:** Add audio only. Cleanup StreamTypes source of truth. ([4f37d7f](https://github.com/muxinc/elements/commit/4f37d7f10ef66eef48af0dd9cf1efc79322b660d))
531
+
532
+ # [0.1.0-beta.17](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.16...@mux-elements/mux-player-react@0.1.0-beta.17) (2022-05-26)
533
+
534
+ **Note:** Version bump only for package @mux-elements/mux-player-react
535
+
536
+ # [0.1.0-beta.16](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.15...@mux-elements/mux-player-react@0.1.0-beta.16) (2022-05-23)
537
+
538
+ **Note:** Version bump only for package @mux-elements/mux-player-react
539
+
540
+ # [0.1.0-beta.15](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.14...@mux-elements/mux-player-react@0.1.0-beta.15) (2022-05-23)
541
+
542
+ **Note:** Version bump only for package @mux-elements/mux-player-react
543
+
544
+ # [0.1.0-beta.14](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.13...@mux-elements/mux-player-react@0.1.0-beta.14) (2022-05-20)
545
+
546
+ ### Bug Fixes
547
+
548
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
549
+
550
+ # [0.1.0-beta.13](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.12...@mux-elements/mux-player-react@0.1.0-beta.13) (2022-05-19)
551
+
552
+ **Note:** Version bump only for package @mux-elements/mux-player-react
553
+
554
+ # [0.1.0-beta.12](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.11...@mux-elements/mux-player-react@0.1.0-beta.12) (2022-05-12)
555
+
556
+ **Note:** Version bump only for package @mux-elements/mux-player-react
557
+
558
+ # [0.1.0-beta.11](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.10...@mux-elements/mux-player-react@0.1.0-beta.11) (2022-05-11)
559
+
560
+ ### Bug Fixes
561
+
562
+ - **mux-player-react:** Missing preload prop type def. ([19b2e15](https://github.com/muxinc/elements/commit/19b2e15dc844e6fb0f90e9ad62a436587260094a))
563
+
564
+ ### Features
565
+
566
+ - **mux-player-react:** Add thumbnail-time support to mux-player-react. Document prop. ([d1c1a4c](https://github.com/muxinc/elements/commit/d1c1a4c65b200c59bab7cc68453c0e307eb75ae4))
567
+
568
+ # [0.1.0-beta.10](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.9...@mux-elements/mux-player-react@0.1.0-beta.10) (2022-05-10)
569
+
570
+ **Note:** Version bump only for package @mux-elements/mux-player-react
571
+
572
+ # [0.1.0-beta.9](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.8...@mux-elements/mux-player-react@0.1.0-beta.9) (2022-05-03)
573
+
574
+ **Note:** Version bump only for package @mux-elements/mux-player-react
575
+
576
+ # [0.1.0-beta.8](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.7...@mux-elements/mux-player-react@0.1.0-beta.8) (2022-04-22)
577
+
578
+ **Note:** Version bump only for package @mux-elements/mux-player-react
579
+
580
+ # [0.1.0-beta.7](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.6...@mux-elements/mux-player-react@0.1.0-beta.7) (2022-04-18)
581
+
582
+ **Note:** Version bump only for package @mux-elements/mux-player-react
583
+
584
+ # [0.1.0-beta.6](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.5...@mux-elements/mux-player-react@0.1.0-beta.6) (2022-04-13)
585
+
586
+ **Note:** Version bump only for package @mux-elements/mux-player-react
587
+
588
+ # [0.1.0-beta.5](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.4...@mux-elements/mux-player-react@0.1.0-beta.5) (2022-04-12)
589
+
590
+ **Note:** Version bump only for package @mux-elements/mux-player-react
591
+
592
+ # [0.1.0-beta.4](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.3...@mux-elements/mux-player-react@0.1.0-beta.4) (2022-04-08)
593
+
594
+ **Note:** Version bump only for package @mux-elements/mux-player-react
595
+
596
+ # [0.1.0-beta.3](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.2...@mux-elements/mux-player-react@0.1.0-beta.3) (2022-04-01)
597
+
598
+ **Note:** Version bump only for package @mux-elements/mux-player-react
599
+
600
+ # [0.1.0-beta.2](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.1...@mux-elements/mux-player-react@0.1.0-beta.2) (2022-04-01)
601
+
602
+ ### Reverts
603
+
604
+ - Revert "Publish" ([42fc528](https://github.com/muxinc/elements/commit/42fc528216346ff52d967cec5392a1191f74a1c0))
605
+
606
+ # [0.1.0-beta.1](https://github.com/muxinc/elements/compare/@mux-elements/mux-player-react@0.1.0-beta.0...@mux-elements/mux-player-react@0.1.0-beta.1) (2022-03-28)
607
+
608
+ ### Bug Fixes
609
+
610
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
611
+
612
+ ### Features
613
+
614
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
@@ -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.4.1"}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
- //# sourceMappingURL=-CHFYCJO2.mjs.map
1
+ import y,{useEffect as le}from"react";import{MaxResolution as Te,MinResolution as Re,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 r=Q(t,o);if(!r)return n;let s=X(o,t);return n[r]=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,ae=(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((r,s)=>n[s]===r);let t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;for(let r=0;r<t.length;r++)if(!te.call(n,t[r])||!Object.is(e[t[r]],n[t[r]]))return!1;return!0},d=(e,n,t)=>!ae(n,e[t]),re=(e,n,t)=>{e[t]=n},oe=(e,n,t,o=re,r=d)=>ne(()=>{let s=t==null?void 0:t.current;s&&r(s,n,e)&&o(s,n,e)},[t==null?void 0:t.current,n]),i=oe;var ie=()=>{try{return"2.5.0"}catch{}return"UNKNOWN"},se=ie(),E=()=>se;var ye=y.forwardRef(({children:e,...n},t)=>y.createElement("mux-player",p({...n,ref:t}),e)),a=(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:r,onEmptied:s,onLoadStart:g,onLoadedData:f,onLoadedMetadata:M,onProgress:P,onDurationChange:b,onVolumeChange:v,onRateChange:x,onResize:T,onWaiting:R,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)}),a("abort",e,t),a("canplay",e,o),a("canplaythrough",e,r),a("emptied",e,s),a("loadstart",e,g),a("loadeddata",e,f),a("loadedmetadata",e,M),a("progress",e,P),a("durationchange",e,b),a("volumechange",e,v),a("ratechange",e,x),a("resize",e,T),a("waiting",e,R),a("play",e,h),a("playing",e,C),a("timeupdate",e,k),a("pause",e,L),a("seeking",e,O),a("seeked",e,S),a("stalled",e,G),a("suspend",e,w),a("ended",e,V),a("error",e,A),a("cuepointchange",e,N),a("cuepointschange",e,I),[Z]},ce=E(),pe="mux-player-react",me=y.forwardRef((e,n)=>{let t=ue(null),o=m(t,n),[r]=de(t,e);return y.createElement(ye,{ref:o,playerSoftwareName:pe,playerSoftwareVersion:ce,...r})}),Ve=me;export{Te as MaxResolution,ke as MediaError,Re as MinResolution,he as RenditionOrder,Ve as default};
2
+ //# sourceMappingURL=-2HUANLS7.mjs.map