@mux/mux-audio 0.10.7 → 0.10.8-canary.0-c3dc2ef

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,320 @@
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
+ ## [0.10.8](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.7...@mux/mux-audio@0.10.8) (2023-08-23)
7
+
8
+ **Note:** Version bump only for package @mux/mux-audio
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.10.7](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.6...@mux/mux-audio@0.10.7) (2023-08-15)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * 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))
20
+
21
+
22
+
23
+
24
+
25
+ ## [0.10.6](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.5...@mux/mux-audio@0.10.6) (2023-08-14)
26
+
27
+ **Note:** Version bump only for package @mux/mux-audio
28
+
29
+
30
+
31
+
32
+
33
+ ## [0.10.5](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.4...@mux/mux-audio@0.10.5) (2023-07-07)
34
+
35
+ **Note:** Version bump only for package @mux/mux-audio
36
+
37
+
38
+
39
+
40
+
41
+ ## [0.10.4](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.3...@mux/mux-audio@0.10.4) (2023-06-29)
42
+
43
+ **Note:** Version bump only for package @mux/mux-audio
44
+
45
+
46
+
47
+
48
+
49
+ ## [0.10.3](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.2...@mux/mux-audio@0.10.3) (2023-06-12)
50
+
51
+
52
+ ### Bug Fixes
53
+
54
+ * **playback-core, mux-video:** Handle native playback edge cases wher… ([#705](https://github.com/muxinc/elements/issues/705)) ([16f8941](https://github.com/muxinc/elements/commit/16f8941799a5186f28205a70105b26764f39b295))
55
+
56
+
57
+
58
+
59
+
60
+ ## [0.10.2](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.1...@mux/mux-audio@0.10.2) (2023-06-06)
61
+
62
+
63
+ ### Bug Fixes
64
+
65
+ * use custom-media-element pkg ([#697](https://github.com/muxinc/elements/issues/697)) ([71c3341](https://github.com/muxinc/elements/commit/71c334157cbb16f88d57b020425534e9dde2b4ca))
66
+
67
+
68
+
69
+
70
+
71
+ ## [0.10.1](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.10.0...@mux/mux-audio@0.10.1) (2023-05-08)
72
+
73
+
74
+ ### Bug Fixes
75
+
76
+ * upgrade to hls.js 1.4.1 ([#685](https://github.com/muxinc/elements/issues/685)) ([15ca4ac](https://github.com/muxinc/elements/commit/15ca4acc3b5093a409baa938429d9afaa30c80bd))
77
+
78
+
79
+
80
+
81
+
82
+ # [0.10.0](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.9.6...@mux/mux-audio@0.10.0) (2023-04-14)
83
+
84
+
85
+ ### Features
86
+
87
+ * add currentPdt getter and getStartDate() method ([#661](https://github.com/muxinc/elements/issues/661)) ([530170b](https://github.com/muxinc/elements/commit/530170b789d7734d2b70fde7d59abb1ebf8a582c))
88
+
89
+
90
+
91
+
92
+
93
+ ## [0.9.6](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.9.5...@mux/mux-audio@0.9.6) (2023-03-31)
94
+
95
+
96
+ ### Bug Fixes
97
+
98
+ * update typedefs, disable skipLibChecks in tsconfig ([#601](https://github.com/muxinc/elements/issues/601)) ([1664aec](https://github.com/muxinc/elements/commit/1664aec20e4cf4a59779848b298d4504eef24080))
99
+
100
+
101
+
102
+
103
+
104
+ ## [0.9.5](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.9.4...@mux/mux-audio@0.9.5) (2023-02-15)
105
+
106
+ **Note:** Version bump only for package @mux/mux-audio
107
+
108
+
109
+
110
+
111
+
112
+ ## [0.9.4](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.9.3...@mux/mux-audio@0.9.4) (2023-02-14)
113
+
114
+
115
+ ### Bug Fixes
116
+
117
+ * **playback-core:** Typescript + min acrobatics to make svelte and others happy ([fdf34bb](https://github.com/muxinc/elements/commit/fdf34bb8fd409f0c2b5945802251ed2e6ffafd7e))
118
+
119
+
120
+
121
+
122
+
123
+ ## [0.9.3](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.9.2...@mux/mux-audio@0.9.3) (2023-02-02)
124
+
125
+ **Note:** Version bump only for package @mux/mux-audio
126
+
127
+
128
+
129
+
130
+
131
+ ## [0.9.2](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.9.1...@mux/mux-audio@0.9.2) (2023-02-01)
132
+
133
+ **Note:** Version bump only for package @mux/mux-audio
134
+
135
+
136
+
137
+
138
+
139
+ ## [0.9.1](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.9.0...@mux/mux-audio@0.9.1) (2023-01-20)
140
+
141
+ **Note:** Version bump only for package @mux/mux-audio
142
+
143
+
144
+
145
+
146
+
147
+ # [0.9.0](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.8.1...@mux/mux-audio@0.9.0) (2022-12-13)
148
+
149
+
150
+ ### Features
151
+
152
+ * allow video, audio and player elements to get any metadata-* attrs set ([#501](https://github.com/muxinc/elements/issues/501)) ([8ee139d](https://github.com/muxinc/elements/commit/8ee139d2bbd08e1e3c08d047f870c1dcf01dac7e))
153
+
154
+
155
+
156
+
157
+
158
+ ## [0.8.1](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.8.0...@mux/mux-audio@0.8.1) (2022-11-21)
159
+
160
+
161
+ ### Bug Fixes
162
+
163
+ * add async effect for loading media ([#492](https://github.com/muxinc/elements/issues/492)) ([d2b250a](https://github.com/muxinc/elements/commit/d2b250a2d86e4e6a4c17fc34196e6468c4fedf1f))
164
+
165
+
166
+
167
+
168
+
169
+ # [0.8.0](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.7.0...@mux/mux-audio@0.8.0) (2022-10-25)
170
+
171
+
172
+ ### Features
173
+
174
+ * **mux-audio:** Add disable cookies attr and prop. ([ef453ed](https://github.com/muxinc/elements/commit/ef453edf9cb9696150ae89f995a6af8472161153))
175
+
176
+
177
+
178
+
179
+
180
+ # [0.7.0](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.6.4...@mux/mux-audio@0.7.0) (2022-10-05)
181
+
182
+ ### Bug Fixes
183
+
184
+ - preload for mux-audio, add tests ([e795fe0](https://github.com/muxinc/elements/commit/e795fe047af1feac832786aa03d8f419e57881b5))
185
+ - preload playback core change ([15313ea](https://github.com/muxinc/elements/commit/15313eaad81f748b5853a0fdaabfe141963f885e))
186
+
187
+ ### Features
188
+
189
+ - add `prefer-playback` attribute ([#402](https://github.com/muxinc/elements/issues/402)) ([8da36d6](https://github.com/muxinc/elements/commit/8da36d6b597ddbc4ae006873fee13a971b7ec2f3))
190
+ - remove deprecated .hls and .video props ([#408](https://github.com/muxinc/elements/issues/408)) ([2bd4861](https://github.com/muxinc/elements/commit/2bd48618d1b59d054e470ce9011c5c2f4904f8b6))
191
+
192
+ ### BREAKING CHANGES
193
+
194
+ - remove deprecated .hls and .video props.
195
+
196
+ ## [0.6.4](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.6.3...@mux/mux-audio@0.6.4) (2022-09-16)
197
+
198
+ ### Bug Fixes
199
+
200
+ - mux-video & mux-audio memory leak ([#387](https://github.com/muxinc/elements/issues/387)) ([4a0d921](https://github.com/muxinc/elements/commit/4a0d921c49a3bf730ad86a77e46a085c44ef91ea))
201
+ - update PlaybackEngine types ([1873781](https://github.com/muxinc/elements/commit/187378165a83e70d62bd5ba954b4986d0ae50738))
202
+
203
+ ## [0.6.3](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.6.2...@mux/mux-audio@0.6.3) (2022-08-31)
204
+
205
+ ### Bug Fixes
206
+
207
+ - polyfills mutating global ([#355](https://github.com/muxinc/elements/issues/355)) ([71d18a4](https://github.com/muxinc/elements/commit/71d18a427f0171bb214a0df7c1425d3d1bddc47a))
208
+
209
+ ## [0.6.2](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.6.1...@mux/mux-audio@0.6.2) (2022-08-02)
210
+
211
+ ### Bug Fixes
212
+
213
+ - CustomVideo.nativeEl being null in some cases ([#316](https://github.com/muxinc/elements/issues/316)) ([0563c30](https://github.com/muxinc/elements/commit/0563c3041cccd9b985a9093a8c7c7cc80433147c)), closes [#314](https://github.com/muxinc/elements/issues/314)
214
+
215
+ ## [0.6.1](https://github.com/muxinc/elements/compare/@mux/mux-audio@0.6.0...@mux/mux-audio@0.6.1) (2022-07-21)
216
+
217
+ **Note:** Version bump only for package @mux/mux-audio
218
+
219
+ # 0.6.0 (2022-07-05)
220
+
221
+ ### Bug Fixes
222
+
223
+ - Add catches with error logging if mux-video or mux-audio fails to load or parse metadata from metadata-url. ([c53a9be](https://github.com/muxinc/elements/commit/c53a9be15b7a8ec8e7191ce1136152bf3d046a63))
224
+ - clear some state on playbackId change ([#174](https://github.com/muxinc/elements/issues/174)) ([af0738e](https://github.com/muxinc/elements/commit/af0738ea5ae5a75861f75fc2ae3809ada735f3e2))
225
+ - custom video events handling ([#203](https://github.com/muxinc/elements/issues/203)) ([a909f89](https://github.com/muxinc/elements/commit/a909f89a69ee0d4b67e9d9371ac0f80984016181))
226
+ - error message was not passed back to player ([ade8143](https://github.com/muxinc/elements/commit/ade81438834610a7bddfa158ff20ec671ccd508f))
227
+ - fix 3x init of playback-core if `src` used ([#213](https://github.com/muxinc/elements/issues/213)) ([1d3e465](https://github.com/muxinc/elements/commit/1d3e465f8cc40544f0fb2c17ff4fb435c9e9a807))
228
+ - keep .hls but have it log a warning saying to use .\_hls ([11e6c10](https://github.com/muxinc/elements/commit/11e6c102a7e238bc8104c52ae9b94e7e3c2c7e19))
229
+ - **mux-audio:** Fix mux-audio, add shadow & props ([c74a448](https://github.com/muxinc/elements/commit/c74a448347cf6585944a08c977b138c560229e4e))
230
+ - **mux-audio:** use generateInitTime() instead of Date.now. ([6b67651](https://github.com/muxinc/elements/commit/6b67651245ee32ee864c8c114cdf480c618e2d8a))
231
+ - **mux-audio:** Use window polyfill for CustomAudioElement browser dependencies. ([2afb742](https://github.com/muxinc/elements/commit/2afb742911a29e708283faaca5fc966b9493670a))
232
+ - point pkgjson#browser at mjs build for webpack 4 ([#191](https://github.com/muxinc/elements/issues/191)) ([a73a495](https://github.com/muxinc/elements/commit/a73a4951052bfc77cc24667b9bc0a05efbcbb355))
233
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
234
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
235
+
236
+ ### Features
237
+
238
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
239
+ - add part=video/audio for mux-video/audio ([49e5b6f](https://github.com/muxinc/elements/commit/49e5b6f14fde14d429afae5c5a46d7595c4e027e)), closes [#125](https://github.com/muxinc/elements/issues/125)
240
+ - Extended autoplay options ([#116](https://github.com/muxinc/elements/issues/116)) ([475e838](https://github.com/muxinc/elements/commit/475e83884f641c578fa601c9501147d485fc1831))
241
+ - Initial immplementation of mux-audio. ([a33b2ea](https://github.com/muxinc/elements/commit/a33b2ea1ba5b0a3c2c684291f98b3071bc4267ba))
242
+ - rename hls to \_hls ([2d53bc2](https://github.com/muxinc/elements/commit/2d53bc2517840d65a8fd5e2bb2d979ce8b491116))
243
+ - support hls audio as first pass impl. Re-add playback-id support. ([d5229d2](https://github.com/muxinc/elements/commit/d5229d26be74338158a4037ff82f23123011cc6c))
244
+ - **support-media-types:** Add support for non hls media. Add (optional) type attribute. (refs [#23](https://github.com/muxinc/elements/issues/23)) ([fe4cdd5](https://github.com/muxinc/elements/commit/fe4cdd59f63188033d737c9166ef0522b6ef74d6))
245
+ - **support-media-types:** ignore case for shorthand types. (fixes [#23](https://github.com/muxinc/elements/issues/23)) ([64eb088](https://github.com/muxinc/elements/commit/64eb0888d3d41880ff26b471db0cb964b61350ad))
246
+ - Updates to make mux-audio and mux-video builds easy to use in next.js (fixes [#15](https://github.com/muxinc/elements/issues/15)) ([99b8ea7](https://github.com/muxinc/elements/commit/99b8ea74785903c5b300007cf8c3bc8a7601ae2d))
247
+
248
+ ## [0.5.6](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.5.5...@mux-elements/mux-audio@0.5.6) (2022-06-23)
249
+
250
+ **Note:** Version bump only for package @mux-elements/mux-audio
251
+
252
+ ## [0.5.5](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.5.4...@mux-elements/mux-audio@0.5.5) (2022-06-06)
253
+
254
+ **Note:** Version bump only for package @mux-elements/mux-audio
255
+
256
+ ## [0.5.4](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.5.3...@mux-elements/mux-audio@0.5.4) (2022-05-26)
257
+
258
+ **Note:** Version bump only for package @mux-elements/mux-audio
259
+
260
+ ## [0.5.3](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.5.2...@mux-elements/mux-audio@0.5.3) (2022-05-23)
261
+
262
+ **Note:** Version bump only for package @mux-elements/mux-audio
263
+
264
+ ## [0.5.2](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.5.1...@mux-elements/mux-audio@0.5.2) (2022-05-20)
265
+
266
+ ### Bug Fixes
267
+
268
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
269
+
270
+ ## [0.5.1](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.5.0...@mux-elements/mux-audio@0.5.1) (2022-05-10)
271
+
272
+ ### Bug Fixes
273
+
274
+ - error message was not passed back to player ([ade8143](https://github.com/muxinc/elements/commit/ade81438834610a7bddfa158ff20ec671ccd508f))
275
+ - fix 3x init of playback-core if `src` used ([#213](https://github.com/muxinc/elements/issues/213)) ([1d3e465](https://github.com/muxinc/elements/commit/1d3e465f8cc40544f0fb2c17ff4fb435c9e9a807))
276
+
277
+ # [0.5.0](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.4.4...@mux-elements/mux-audio@0.5.0) (2022-05-03)
278
+
279
+ ### Bug Fixes
280
+
281
+ - custom video events handling ([#203](https://github.com/muxinc/elements/issues/203)) ([a909f89](https://github.com/muxinc/elements/commit/a909f89a69ee0d4b67e9d9371ac0f80984016181))
282
+ - keep .hls but have it log a warning saying to use .\_hls ([11e6c10](https://github.com/muxinc/elements/commit/11e6c102a7e238bc8104c52ae9b94e7e3c2c7e19))
283
+
284
+ ### Features
285
+
286
+ - add part=video/audio for mux-video/audio ([49e5b6f](https://github.com/muxinc/elements/commit/49e5b6f14fde14d429afae5c5a46d7595c4e027e)), closes [#125](https://github.com/muxinc/elements/issues/125)
287
+ - rename hls to \_hls ([2d53bc2](https://github.com/muxinc/elements/commit/2d53bc2517840d65a8fd5e2bb2d979ce8b491116))
288
+
289
+ ## [0.4.4](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.4.3...@mux-elements/mux-audio@0.4.4) (2022-04-22)
290
+
291
+ ### Bug Fixes
292
+
293
+ - point pkgjson#browser at mjs build for webpack 4 ([#191](https://github.com/muxinc/elements/issues/191)) ([a73a495](https://github.com/muxinc/elements/commit/a73a4951052bfc77cc24667b9bc0a05efbcbb355))
294
+
295
+ ## [0.4.3](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.4.2...@mux-elements/mux-audio@0.4.3) (2022-04-18)
296
+
297
+ **Note:** Version bump only for package @mux-elements/mux-audio
298
+
299
+ ## [0.4.2](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.4.1...@mux-elements/mux-audio@0.4.2) (2022-04-12)
300
+
301
+ ### Bug Fixes
302
+
303
+ - clear some state on playbackId change ([#174](https://github.com/muxinc/elements/issues/174)) ([af0738e](https://github.com/muxinc/elements/commit/af0738ea5ae5a75861f75fc2ae3809ada735f3e2))
304
+
305
+ ## [0.4.1](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.4.0...@mux-elements/mux-audio@0.4.1) (2022-04-01)
306
+
307
+ **Note:** Version bump only for package @mux-elements/mux-audio
308
+
309
+ # [0.4.0](https://github.com/muxinc/elements/compare/@mux-elements/mux-audio@0.3.0...@mux-elements/mux-audio@0.4.0) (2022-03-28)
310
+
311
+ ### Bug Fixes
312
+
313
+ - **mux-audio:** Fix mux-audio, add shadow & props ([c74a448](https://github.com/muxinc/elements/commit/c74a448347cf6585944a08c977b138c560229e4e))
314
+ - **mux-audio:** use generateInitTime() instead of Date.now. ([6b67651](https://github.com/muxinc/elements/commit/6b67651245ee32ee864c8c114cdf480c618e2d8a))
315
+ - **mux-audio:** Use window polyfill for CustomAudioElement browser dependencies. ([2afb742](https://github.com/muxinc/elements/commit/2afb742911a29e708283faaca5fc966b9493670a))
316
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
317
+
318
+ ### Features
319
+
320
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
package/dist/cjs.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "inputs": {
3
+ "src/polyfills/index.ts": {
4
+ "bytes": 2117,
5
+ "imports": []
6
+ },
7
+ "src/env.ts": {
8
+ "bytes": 391,
9
+ "imports": []
10
+ },
11
+ "../../node_modules/custom-media-element/custom-media-element.js": {
12
+ "bytes": 10645,
13
+ "imports": []
14
+ },
15
+ "src/index.ts": {
16
+ "bytes": 11631,
17
+ "imports": [
18
+ {
19
+ "path": "src/polyfills/index.ts",
20
+ "kind": "import-statement"
21
+ },
22
+ {
23
+ "path": "src/env.ts",
24
+ "kind": "import-statement"
25
+ },
26
+ {
27
+ "path": "../../node_modules/custom-media-element/custom-media-element.js",
28
+ "kind": "import-statement"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ "outputs": {
34
+ "dist/index.cjs.js.map": {
35
+ "imports": [],
36
+ "exports": [],
37
+ "inputs": {},
38
+ "bytes": 38675
39
+ },
40
+ "dist/index.cjs.js": {
41
+ "imports": [],
42
+ "exports": [],
43
+ "entryPoint": "src/index.ts",
44
+ "inputs": {
45
+ "src/index.ts": {
46
+ "bytesInOutput": 5080
47
+ },
48
+ "src/polyfills/index.ts": {
49
+ "bytesInOutput": 739
50
+ },
51
+ "src/env.ts": {
52
+ "bytesInOutput": 72
53
+ },
54
+ "../../node_modules/custom-media-element/custom-media-element.js": {
55
+ "bytesInOutput": 5139
56
+ }
57
+ },
58
+ "bytes": 12031
59
+ }
60
+ }
61
+ }
package/dist/esm.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "inputs": {
3
+ "src/polyfills/index.ts": {
4
+ "bytes": 2117,
5
+ "imports": []
6
+ },
7
+ "src/env.ts": {
8
+ "bytes": 391,
9
+ "imports": []
10
+ },
11
+ "../../node_modules/custom-media-element/custom-media-element.js": {
12
+ "bytes": 10645,
13
+ "imports": []
14
+ },
15
+ "src/index.ts": {
16
+ "bytes": 11631,
17
+ "imports": [
18
+ {
19
+ "path": "src/polyfills/index.ts",
20
+ "kind": "import-statement"
21
+ },
22
+ {
23
+ "path": "src/env.ts",
24
+ "kind": "import-statement"
25
+ },
26
+ {
27
+ "path": "../../node_modules/custom-media-element/custom-media-element.js",
28
+ "kind": "import-statement"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ "outputs": {
34
+ "dist/index.mjs.map": {
35
+ "imports": [],
36
+ "exports": [],
37
+ "inputs": {},
38
+ "bytes": 38908
39
+ },
40
+ "dist/index.mjs": {
41
+ "imports": [],
42
+ "exports": [
43
+ "AudioEvents",
44
+ "MediaError",
45
+ "default"
46
+ ],
47
+ "entryPoint": "src/index.ts",
48
+ "inputs": {
49
+ "src/polyfills/index.ts": {
50
+ "bytesInOutput": 739
51
+ },
52
+ "src/index.ts": {
53
+ "bytesInOutput": 4978
54
+ },
55
+ "src/env.ts": {
56
+ "bytesInOutput": 72
57
+ },
58
+ "../../node_modules/custom-media-element/custom-media-element.js": {
59
+ "bytesInOutput": 5135
60
+ }
61
+ },
62
+ "bytes": 11574
63
+ }
64
+ }
65
+ }
package/dist/iife.json ADDED
@@ -0,0 +1,95 @@
1
+ {
2
+ "inputs": {
3
+ "src/polyfills/index.ts": {
4
+ "bytes": 2117,
5
+ "imports": []
6
+ },
7
+ "../../node_modules/mux-embed/dist/mux.js": {
8
+ "bytes": 83733,
9
+ "imports": []
10
+ },
11
+ "../../node_modules/hls.js/dist/hls.mjs": {
12
+ "bytes": 887116,
13
+ "imports": []
14
+ },
15
+ "../playback-core/dist/index.mjs": {
16
+ "bytes": 17754,
17
+ "imports": [
18
+ {
19
+ "path": "../../node_modules/mux-embed/dist/mux.js",
20
+ "kind": "import-statement"
21
+ },
22
+ {
23
+ "path": "../../node_modules/hls.js/dist/hls.mjs",
24
+ "kind": "import-statement"
25
+ }
26
+ ]
27
+ },
28
+ "src/env.ts": {
29
+ "bytes": 391,
30
+ "imports": []
31
+ },
32
+ "../../node_modules/custom-media-element/custom-media-element.js": {
33
+ "bytes": 10645,
34
+ "imports": []
35
+ },
36
+ "src/index.ts": {
37
+ "bytes": 11631,
38
+ "imports": [
39
+ {
40
+ "path": "src/polyfills/index.ts",
41
+ "kind": "import-statement"
42
+ },
43
+ {
44
+ "path": "../playback-core/dist/index.mjs",
45
+ "kind": "import-statement"
46
+ },
47
+ {
48
+ "path": "src/env.ts",
49
+ "kind": "import-statement"
50
+ },
51
+ {
52
+ "path": "../../node_modules/custom-media-element/custom-media-element.js",
53
+ "kind": "import-statement"
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ "outputs": {
59
+ "dist/mux-audio.js.map": {
60
+ "imports": [],
61
+ "exports": [],
62
+ "inputs": {},
63
+ "bytes": 1940350
64
+ },
65
+ "dist/mux-audio.js": {
66
+ "imports": [],
67
+ "exports": [],
68
+ "entryPoint": "src/index.ts",
69
+ "inputs": {
70
+ "../../node_modules/mux-embed/dist/mux.js": {
71
+ "bytesInOutput": 83952
72
+ },
73
+ "src/polyfills/index.ts": {
74
+ "bytesInOutput": 767
75
+ },
76
+ "../playback-core/dist/index.mjs": {
77
+ "bytesInOutput": 16177
78
+ },
79
+ "../../node_modules/hls.js/dist/hls.mjs": {
80
+ "bytesInOutput": 356376
81
+ },
82
+ "src/env.ts": {
83
+ "bytesInOutput": 73
84
+ },
85
+ "../../node_modules/custom-media-element/custom-media-element.js": {
86
+ "bytesInOutput": 5180
87
+ },
88
+ "src/index.ts": {
89
+ "bytesInOutput": 4878
90
+ }
91
+ },
92
+ "bytes": 468775
93
+ }
94
+ }
95
+ }
package/dist/index.cjs.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var Y=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var ot=Object.getOwnPropertyNames;var ut=Object.prototype.hasOwnProperty;var lt=(i,e,t)=>e in i?Y(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var dt=(i,e)=>{for(var t in e)Y(i,t,{get:e[t],enumerable:!0})},ct=(i,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of ot(e))!ut.call(i,u)&&u!==t&&Y(i,u,{get:()=>e[u],enumerable:!(a=at(e,u))||a.enumerable});return i};var ht=i=>ct(Y({},"__esModule",{value:!0}),i);var F=(i,e,t)=>(lt(i,typeof e!="symbol"?e+"":e,t),t),H=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var c=(i,e,t)=>(H(i,e,"read from private field"),t?t.call(i):e.get(i)),h=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)},b=(i,e,t,a)=>(H(i,e,"write to private field"),a?a.call(i,t):e.set(i,t),t);var g=(i,e,t)=>(H(i,e,"access private method"),t);var Ct={};dt(Ct,{AudioEvents:()=>W,MediaError:()=>d.MediaError,default:()=>Tt});module.exports=ht(Ct);var _=class{addEventListener(){}removeEventListener(){}dispatchEvent(e){return!0}};if(typeof DocumentFragment=="undefined"){class i extends _{}globalThis.DocumentFragment=i}var I=class extends _{},V=class extends _{},mt={get(i){},define(i,e,t){},upgrade(i){},whenDefined(i){return Promise.resolve(I)}},N,q=class{constructor(e,t={}){h(this,N,void 0);b(this,N,t==null?void 0:t.detail)}get detail(){return c(this,N)}initCustomEvent(){}};N=new WeakMap;function pt(i,e){return new I}var Q={document:{createElement:pt},DocumentFragment,customElements:mt,CustomEvent:q,EventTarget:_,HTMLElement:I,HTMLVideoElement:V},X=typeof window=="undefined"||typeof globalThis.customElements=="undefined",U=X?Q:globalThis,_t=X?Q.document:globalThis.document;var d=require("@mux/playback-core");var bt=()=>{try{return"0.10.7"}catch{}return"UNKNOWN"},ft=bt(),Z=()=>ft;var W=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],tt,$=(tt=globalThis.document)==null?void 0:tt.createElement("template");$&&($.innerHTML=`
1
+ "use strict";var Y=Object.defineProperty;var at=Object.getOwnPropertyDescriptor;var ot=Object.getOwnPropertyNames;var ut=Object.prototype.hasOwnProperty;var lt=(i,e,t)=>e in i?Y(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var dt=(i,e)=>{for(var t in e)Y(i,t,{get:e[t],enumerable:!0})},ct=(i,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of ot(e))!ut.call(i,u)&&u!==t&&Y(i,u,{get:()=>e[u],enumerable:!(a=at(e,u))||a.enumerable});return i};var ht=i=>ct(Y({},"__esModule",{value:!0}),i);var F=(i,e,t)=>(lt(i,typeof e!="symbol"?e+"":e,t),t),H=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var c=(i,e,t)=>(H(i,e,"read from private field"),t?t.call(i):e.get(i)),h=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)},b=(i,e,t,a)=>(H(i,e,"write to private field"),a?a.call(i,t):e.set(i,t),t);var g=(i,e,t)=>(H(i,e,"access private method"),t);var Ct={};dt(Ct,{AudioEvents:()=>W,MediaError:()=>d.MediaError,default:()=>Tt});module.exports=ht(Ct);var _=class{addEventListener(){}removeEventListener(){}dispatchEvent(e){return!0}};if(typeof DocumentFragment=="undefined"){class i extends _{}globalThis.DocumentFragment=i}var I=class extends _{},V=class extends _{},mt={get(i){},define(i,e,t){},upgrade(i){},whenDefined(i){return Promise.resolve(I)}},N,q=class{constructor(e,t={}){h(this,N,void 0);b(this,N,t==null?void 0:t.detail)}get detail(){return c(this,N)}initCustomEvent(){}};N=new WeakMap;function pt(i,e){return new I}var Q={document:{createElement:pt},DocumentFragment,customElements:mt,CustomEvent:q,EventTarget:_,HTMLElement:I,HTMLVideoElement:V},X=typeof window=="undefined"||typeof globalThis.customElements=="undefined",U=X?Q:globalThis,_t=X?Q.document:globalThis.document;var d=require("@mux/playback-core");var bt=()=>{try{return"0.10.8"}catch{}return"UNKNOWN"},ft=bt(),Z=()=>ft;var W=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],tt,$=(tt=globalThis.document)==null?void 0:tt.createElement("template");$&&($.innerHTML=`
2
2
  <style>
3
3
  :host {
4
4
  display: inline-block;
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- var nt=Object.defineProperty;var at=(i,e,t)=>e in i?nt(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var G=(i,e,t)=>(at(i,typeof e!="symbol"?e+"":e,t),t),F=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var d=(i,e,t)=>(F(i,e,"read from private field"),t?t.call(i):e.get(i)),c=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)},p=(i,e,t,o)=>(F(i,e,"write to private field"),o?o.call(i,t):e.set(i,t),t);var f=(i,e,t)=>(F(i,e,"access private method"),t);var k=class{addEventListener(){}removeEventListener(){}dispatchEvent(e){return!0}};if(typeof DocumentFragment=="undefined"){class i extends k{}globalThis.DocumentFragment=i}var S=class extends k{},H=class extends k{},ot={get(i){},define(i,e,t){},upgrade(i){},whenDefined(i){return Promise.resolve(S)}},I,V=class{constructor(e,t={}){c(this,I,void 0);p(this,I,t==null?void 0:t.detail)}get detail(){return d(this,I)}initCustomEvent(){}};I=new WeakMap;function ut(i,e){return new S}var W={document:{createElement:ut},DocumentFragment,customElements:ot,CustomEvent:V,EventTarget:k,HTMLElement:S,HTMLVideoElement:H},J=typeof window=="undefined"||typeof globalThis.customElements=="undefined",K=J?W:globalThis,kt=J?W.document:globalThis.document;import{initialize as ht,teardown as mt,generatePlayerInitTime as pt,PlaybackTypes as U,toMuxVideoURL as bt,MediaError as Yt,getStartDate as ft,getCurrentPdt as gt,getEnded as Et}from"@mux/playback-core";var lt=()=>{try{return"0.10.7"}catch{}return"UNKNOWN"},dt=lt(),Q=()=>dt;var tt=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],X,q=(X=globalThis.document)==null?void 0:X.createElement("template");q&&(q.innerHTML=`
1
+ var nt=Object.defineProperty;var at=(i,e,t)=>e in i?nt(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var G=(i,e,t)=>(at(i,typeof e!="symbol"?e+"":e,t),t),F=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var d=(i,e,t)=>(F(i,e,"read from private field"),t?t.call(i):e.get(i)),c=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)},p=(i,e,t,o)=>(F(i,e,"write to private field"),o?o.call(i,t):e.set(i,t),t);var f=(i,e,t)=>(F(i,e,"access private method"),t);var k=class{addEventListener(){}removeEventListener(){}dispatchEvent(e){return!0}};if(typeof DocumentFragment=="undefined"){class i extends k{}globalThis.DocumentFragment=i}var S=class extends k{},H=class extends k{},ot={get(i){},define(i,e,t){},upgrade(i){},whenDefined(i){return Promise.resolve(S)}},I,V=class{constructor(e,t={}){c(this,I,void 0);p(this,I,t==null?void 0:t.detail)}get detail(){return d(this,I)}initCustomEvent(){}};I=new WeakMap;function ut(i,e){return new S}var W={document:{createElement:ut},DocumentFragment,customElements:ot,CustomEvent:V,EventTarget:k,HTMLElement:S,HTMLVideoElement:H},J=typeof window=="undefined"||typeof globalThis.customElements=="undefined",K=J?W:globalThis,kt=J?W.document:globalThis.document;import{initialize as ht,teardown as mt,generatePlayerInitTime as pt,PlaybackTypes as U,toMuxVideoURL as bt,MediaError as Yt,getStartDate as ft,getCurrentPdt as gt,getEnded as Et}from"@mux/playback-core";var lt=()=>{try{return"0.10.8"}catch{}return"UNKNOWN"},dt=lt(),Q=()=>dt;var tt=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],X,q=(X=globalThis.document)==null?void 0:X.createElement("template");q&&(q.innerHTML=`
2
2
  <style>
3
3
  :host {
4
4
  display: inline-block;
@@ -0,0 +1,99 @@
1
+ {
2
+ "inputs": {
3
+ "src/polyfills/index.ts": {
4
+ "bytes": 2117,
5
+ "imports": []
6
+ },
7
+ "../../node_modules/mux-embed/dist/mux.js": {
8
+ "bytes": 83733,
9
+ "imports": []
10
+ },
11
+ "../../node_modules/hls.js/dist/hls.mjs": {
12
+ "bytes": 887116,
13
+ "imports": []
14
+ },
15
+ "../playback-core/dist/index.mjs": {
16
+ "bytes": 17754,
17
+ "imports": [
18
+ {
19
+ "path": "../../node_modules/mux-embed/dist/mux.js",
20
+ "kind": "import-statement"
21
+ },
22
+ {
23
+ "path": "../../node_modules/hls.js/dist/hls.mjs",
24
+ "kind": "import-statement"
25
+ }
26
+ ]
27
+ },
28
+ "src/env.ts": {
29
+ "bytes": 391,
30
+ "imports": []
31
+ },
32
+ "../../node_modules/custom-media-element/custom-media-element.js": {
33
+ "bytes": 10645,
34
+ "imports": []
35
+ },
36
+ "src/index.ts": {
37
+ "bytes": 11631,
38
+ "imports": [
39
+ {
40
+ "path": "src/polyfills/index.ts",
41
+ "kind": "import-statement"
42
+ },
43
+ {
44
+ "path": "../playback-core/dist/index.mjs",
45
+ "kind": "import-statement"
46
+ },
47
+ {
48
+ "path": "src/env.ts",
49
+ "kind": "import-statement"
50
+ },
51
+ {
52
+ "path": "../../node_modules/custom-media-element/custom-media-element.js",
53
+ "kind": "import-statement"
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ "outputs": {
59
+ "dist/mux-audio.mjs.map": {
60
+ "imports": [],
61
+ "exports": [],
62
+ "inputs": {},
63
+ "bytes": 1940350
64
+ },
65
+ "dist/mux-audio.mjs": {
66
+ "imports": [],
67
+ "exports": [
68
+ "AudioEvents",
69
+ "MediaError",
70
+ "default"
71
+ ],
72
+ "entryPoint": "src/index.ts",
73
+ "inputs": {
74
+ "../../node_modules/mux-embed/dist/mux.js": {
75
+ "bytesInOutput": 83952
76
+ },
77
+ "src/polyfills/index.ts": {
78
+ "bytesInOutput": 767
79
+ },
80
+ "../playback-core/dist/index.mjs": {
81
+ "bytesInOutput": 16177
82
+ },
83
+ "../../node_modules/hls.js/dist/hls.mjs": {
84
+ "bytesInOutput": 356376
85
+ },
86
+ "src/env.ts": {
87
+ "bytesInOutput": 73
88
+ },
89
+ "../../node_modules/custom-media-element/custom-media-element.js": {
90
+ "bytesInOutput": 5180
91
+ },
92
+ "src/index.ts": {
93
+ "bytesInOutput": 4878
94
+ }
95
+ },
96
+ "bytes": 468809
97
+ }
98
+ }
99
+ }