@mux/playback-core 0.18.3 → 0.18.4-canary.0-c45d462

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,362 @@
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.18.4](https://github.com/muxinc/elements/compare/@mux/playback-core@0.18.3...@mux/playback-core@0.18.4) (2023-06-29)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **playback-core:** Apply pseudo-ended logic on seeked, even if paused. ([#707](https://github.com/muxinc/elements/issues/707)) ([924e81c](https://github.com/muxinc/elements/commit/924e81cddb9943d6e3bf9bf107fe7ed72d071b64))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.18.3](https://github.com/muxinc/elements/compare/@mux/playback-core@0.18.2...@mux/playback-core@0.18.3) (2023-06-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **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))
23
+ * **playback-core:** bump media-chrome & hls.js version to latest. ([#706](https://github.com/muxinc/elements/issues/706)) ([1683663](https://github.com/muxinc/elements/commit/1683663f05b2e3c64012056391f0df457e627371))
24
+
25
+
26
+
27
+
28
+
29
+ ## [0.18.2](https://github.com/muxinc/elements/compare/@mux/playback-core@0.18.1...@mux/playback-core@0.18.2) (2023-06-06)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * update to hls.js 1.4.3 ([#689](https://github.com/muxinc/elements/issues/689)) ([1379c13](https://github.com/muxinc/elements/commit/1379c138a75f9942234771f34dc376867eca113c))
35
+
36
+
37
+
38
+
39
+
40
+ ## [0.18.1](https://github.com/muxinc/elements/compare/@mux/playback-core@0.18.0...@mux/playback-core@0.18.1) (2023-05-08)
41
+
42
+
43
+ ### Bug Fixes
44
+
45
+ * upgrade to hls.js 1.4.1 ([#685](https://github.com/muxinc/elements/issues/685)) ([15ca4ac](https://github.com/muxinc/elements/commit/15ca4acc3b5093a409baa938429d9afaa30c80bd))
46
+
47
+
48
+
49
+
50
+
51
+ # [0.18.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.17.1...@mux/playback-core@0.18.0) (2023-04-14)
52
+
53
+
54
+ ### Bug Fixes
55
+
56
+ * upgrade hls.js to 1.4.0 rc 1 ([#652](https://github.com/muxinc/elements/issues/652)) ([2e84eb5](https://github.com/muxinc/elements/commit/2e84eb539558d6962305c4e03fe938107c810ba8))
57
+ * upgrade to hls.js 1.4.0 ([#656](https://github.com/muxinc/elements/issues/656)) ([6a88840](https://github.com/muxinc/elements/commit/6a888404aa7ba4aa890f09f5dd43d13731c2881e))
58
+
59
+
60
+ ### Features
61
+
62
+ * add currentPdt getter and getStartDate() method ([#661](https://github.com/muxinc/elements/issues/661)) ([530170b](https://github.com/muxinc/elements/commit/530170b789d7734d2b70fde7d59abb1ebf8a582c))
63
+ * inferred stream type ([#592](https://github.com/muxinc/elements/issues/592)) ([db4cc9f](https://github.com/muxinc/elements/commit/db4cc9f60660f2b860ecce0a5a5ef2a3a09cc40b))
64
+
65
+
66
+
67
+
68
+
69
+ ## [0.17.1](https://github.com/muxinc/elements/compare/@mux/playback-core@0.17.0...@mux/playback-core@0.17.1) (2023-03-31)
70
+
71
+
72
+ ### Bug Fixes
73
+
74
+ * Cannot assume activeCues removed precisely in Chromium browsers … ([#616](https://github.com/muxinc/elements/issues/616)) ([c53710c](https://github.com/muxinc/elements/commit/c53710cd2cfd436110232e21cad2d6aa2276cd91))
75
+ * capLevel to player size & on fps drop ([#628](https://github.com/muxinc/elements/issues/628)) ([8c0e776](https://github.com/muxinc/elements/commit/8c0e77655a2c13ae263dabfa81849ebf58aa620b))
76
+ * **playback-core, mux-player:** rte and hlsjs version bump ([#632](https://github.com/muxinc/elements/issues/632)) ([ebaa2b6](https://github.com/muxinc/elements/commit/ebaa2b6bdf7c264bf64320cb529954c7143cfca8))
77
+ * **playback-core:** Tweak hls config for ll-hls to increase likelihood of higher quality playback. Use hls@1.4.0-beta.1 ([#629](https://github.com/muxinc/elements/issues/629)) ([dfc8e9b](https://github.com/muxinc/elements/commit/dfc8e9be1b4f23bb2282d3180af060a90923531f))
78
+ * update typedefs, disable skipLibChecks in tsconfig ([#601](https://github.com/muxinc/elements/issues/601)) ([1664aec](https://github.com/muxinc/elements/commit/1664aec20e4cf4a59779848b298d4504eef24080))
79
+ * use Mux Data player_error_context to get better error grouping in the Mux Data dashboard ([599c052](https://github.com/muxinc/elements/commit/599c052f984cd0d76f061c019872851339775b6a))
80
+
81
+
82
+
83
+
84
+
85
+ # [0.17.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.16.2...@mux/playback-core@0.17.0) (2023-02-15)
86
+
87
+
88
+ ### Bug Fixes
89
+
90
+ * **playback-core:** Explicitly remove textTracks we've added, even for native (non-hls.js) playback. ([#583](https://github.com/muxinc/elements/issues/583)) ([040ea61](https://github.com/muxinc/elements/commit/040ea61c8dddb5e856c37d9d8ba9fa8074bae6ad))
91
+
92
+
93
+ ### Features
94
+
95
+ * 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))
96
+
97
+
98
+
99
+
100
+
101
+ ## [0.16.2](https://github.com/muxinc/elements/compare/@mux/playback-core@0.16.1...@mux/playback-core@0.16.2) (2023-02-14)
102
+
103
+
104
+ ### Bug Fixes
105
+
106
+ * Improve behavior for cuepoints with Safari usage. ([be2e353](https://github.com/muxinc/elements/commit/be2e353f8e904fb7b701e32247436578ae416ecc))
107
+ * **playback-core:** Typescript + min acrobatics to make svelte and others happy ([fdf34bb](https://github.com/muxinc/elements/commit/fdf34bb8fd409f0c2b5945802251ed2e6ffafd7e))
108
+
109
+
110
+
111
+
112
+
113
+ ## [0.16.1](https://github.com/muxinc/elements/compare/@mux/playback-core@0.16.0...@mux/playback-core@0.16.1) (2023-02-02)
114
+
115
+
116
+ ### Bug Fixes
117
+
118
+ * **playback-core:** Only initialize with setupCuePoints when using hls.js for playback ([a9076fb](https://github.com/muxinc/elements/commit/a9076fbec6135ec789c49838ba7efff6b7962f2c))
119
+
120
+
121
+
122
+
123
+
124
+ # [0.16.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.15.1...@mux/playback-core@0.16.0) (2023-02-01)
125
+
126
+
127
+ ### Features
128
+
129
+ * **mux-player, mux-video, playback-core:** Add API for CuePoints metadata. ([1f0b40a](https://github.com/muxinc/elements/commit/1f0b40a6d7f09c0e08a42353e241a26857edaad6))
130
+
131
+
132
+
133
+
134
+
135
+ ## [0.15.1](https://github.com/muxinc/elements/compare/@mux/playback-core@0.15.0...@mux/playback-core@0.15.1) (2023-01-20)
136
+
137
+ **Note:** Version bump only for package @mux/playback-core
138
+
139
+
140
+
141
+
142
+
143
+ # [0.15.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.14.0...@mux/playback-core@0.15.0) (2022-12-13)
144
+
145
+
146
+ ### Features
147
+
148
+ * Remove experimentalCmcd and add none to preferCmcd. Update secret docs. ([2656631](https://github.com/muxinc/elements/commit/2656631968f2b7e97a07d435818ee43c16627002))
149
+
150
+
151
+
152
+
153
+
154
+ # [0.14.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.13.0...@mux/playback-core@0.14.0) (2022-11-21)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * add async effect for loading media ([#492](https://github.com/muxinc/elements/issues/492)) ([d2b250a](https://github.com/muxinc/elements/commit/d2b250a2d86e4e6a4c17fc34196e6468c4fedf1f))
160
+ * **playback-core:** Prefer deterministic value for cid/video_id (instead of UUID). ([7b4661f](https://github.com/muxinc/elements/commit/7b4661f838454aa7d19130272dff0fe6220f9afd))
161
+
162
+
163
+ ### Features
164
+
165
+ * **mux-video:** Add prefer cmcd attr and prop. ([25f0fb7](https://github.com/muxinc/elements/commit/25f0fb7779a6fb30428a7df3a920030836b79dab))
166
+ * **playback-core:** Add preferCmcd support to allow for cmcd query params (default) vs. headers. ([9654ffd](https://github.com/muxinc/elements/commit/9654ffdbc0b86e797284a379524ccef5d268ebd0))
167
+
168
+
169
+
170
+
171
+
172
+ # [0.13.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.12.0...@mux/playback-core@0.13.0) (2022-10-25)
173
+
174
+
175
+ ### Features
176
+
177
+ * add ability to unset poster ([#447](https://github.com/muxinc/elements/issues/447)) ([d61e295](https://github.com/muxinc/elements/commit/d61e295952d59ba42ad077c4a2b7fb3bb0d7079c))
178
+ * conditionally use title for title metadata ([#475](https://github.com/muxinc/elements/issues/475)) ([63166a4](https://github.com/muxinc/elements/commit/63166a4be93e3eceb211f2c1973f324416af3985))
179
+ * **playback-core:** Abstract video_id derivation and make more consistent use of playback-id. ([fdeb1a0](https://github.com/muxinc/elements/commit/fdeb1a065e0aa92998de48a6148590bc5df6a77f))
180
+ * **playback-core:** Add CMCD support (mutative). ([dbe27e0](https://github.com/muxinc/elements/commit/dbe27e086f59245d1782a9e972859d4051d42eac))
181
+ * **playback-core:** Add experimental flag for enabling cmcd (disabled by default). ([5fe2e55](https://github.com/muxinc/elements/commit/5fe2e5550db073c79f1e4712bb7a9c2b0450819f))
182
+ * **playback-core:** Support disableCookies for mux-embed. ([cbd6516](https://github.com/muxinc/elements/commit/cbd651668a51e37dd4fa9b86c212ff51620832a5))
183
+
184
+
185
+
186
+
187
+
188
+ # [0.12.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.11.0...@mux/playback-core@0.12.0) (2022-10-05)
189
+
190
+ ### Bug Fixes
191
+
192
+ - fetch error bug / add error test ([9246a2a](https://github.com/muxinc/elements/commit/9246a2a0dae2b80863bb4c5c8595c120919e7bdb))
193
+ - move getStreamTypeConfig to index ([89f29ed](https://github.com/muxinc/elements/commit/89f29edd759cd7cafae8d6e1ae01fa9bbde6d53c))
194
+ - move not exported utils to util file ([81f2ab2](https://github.com/muxinc/elements/commit/81f2ab27941ed6a56a5d1b8f982c04932c194812))
195
+ - move types to separate file ([313cdee](https://github.com/muxinc/elements/commit/313cdeeec7b376de4fed12476d7170ed25f8245a))
196
+ - preload bugs, add more tests ([bcfc23d](https://github.com/muxinc/elements/commit/bcfc23d0415d6bc5ffd1f65a8704f1ae40d251b9))
197
+ - preload for mux-audio, add tests ([e795fe0](https://github.com/muxinc/elements/commit/e795fe047af1feac832786aa03d8f419e57881b5))
198
+ - preload playback core change ([15313ea](https://github.com/muxinc/elements/commit/15313eaad81f748b5853a0fdaabfe141963f885e))
199
+ - preload property in mux-player ([#435](https://github.com/muxinc/elements/issues/435)) ([1920ab8](https://github.com/muxinc/elements/commit/1920ab8bbdf878f31d409e9fad222f9d3ea91e11))
200
+ - subsequent preload changes ([bd49465](https://github.com/muxinc/elements/commit/bd494653192c205eed043292427946848e1824f5))
201
+ - tweak hls.js config for improved memory management and QoE ([#411](https://github.com/muxinc/elements/issues/411)) ([44454a7](https://github.com/muxinc/elements/commit/44454a74c80c9c9a1be0b33b21ae05adeaffa0ad))
202
+
203
+ - BREAKING CHANGE: fix setting preload after play ([5723cdd](https://github.com/muxinc/elements/commit/5723cdd851f4b0a5400b1bcb2a8885b6e277f4ac))
204
+
205
+ ### Features
206
+
207
+ - add `prefer-playback` attribute ([#402](https://github.com/muxinc/elements/issues/402)) ([8da36d6](https://github.com/muxinc/elements/commit/8da36d6b597ddbc4ae006873fee13a971b7ec2f3))
208
+
209
+ ### BREAKING CHANGES
210
+
211
+ - for the playback-core pkg because setupAutoplay is removed
212
+
213
+ # [0.11.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.10.0...@mux/playback-core@0.11.0) (2022-09-16)
214
+
215
+ ### Bug Fixes
216
+
217
+ - **playback-core:** Make sure event handlers and other references are cleaned up to avoid memory leaks. ([def9853](https://github.com/muxinc/elements/commit/def9853483aa45fdc1f958dfb9ff9b690b30f8eb))
218
+ - **playback-core:** Set both player_software (old key) and player_software_name (new key) in mux data options to sidestep inconsistencies in Mux Data views. ([fbeb5a9](https://github.com/muxinc/elements/commit/fbeb5a9c817fba550ad0662b92a5578db7421fe6))
219
+ - **playback-core:** Use custom teardown event type instead of emptied due to pre-emptive emptied. ([ce8fba8](https://github.com/muxinc/elements/commit/ce8fba810210578fb74615502cf5205222586584))
220
+ - startTime on iOS when preload=auto ([#368](https://github.com/muxinc/elements/issues/368)) ([0f511d4](https://github.com/muxinc/elements/commit/0f511d43474454b683dd7e041bdc3a99937a936e))
221
+ - update to hls.js 1.2.3 ([#386](https://github.com/muxinc/elements/issues/386)) ([a0acfd5](https://github.com/muxinc/elements/commit/a0acfd5ed1fa04390f616ea194fb3972ffe81716))
222
+ - update to hls.js@1.2.1 ([08ed065](https://github.com/muxinc/elements/commit/08ed0652961d140d0db6907f1855847917ee1cd2))
223
+ - update to hls.js@1.2.2 ([b10ee22](https://github.com/muxinc/elements/commit/b10ee221bb9f00e53b6ab25c2e9b57de8e2ae791))
224
+
225
+ ### Features
226
+
227
+ - always prefer MSE on android ([ad43416](https://github.com/muxinc/elements/commit/ad43416077c27b15a8ccda5279d08babdde6a90d)), closes [#325](https://github.com/muxinc/elements/issues/325)
228
+
229
+ # [0.10.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.9.0...@mux/playback-core@0.10.0) (2022-08-31)
230
+
231
+ ### Bug Fixes
232
+
233
+ - polyfills mutating global ([#355](https://github.com/muxinc/elements/issues/355)) ([71d18a4](https://github.com/muxinc/elements/commit/71d18a427f0171bb214a0df7c1425d3d1bddc47a))
234
+
235
+ ### Features
236
+
237
+ - **playback-core:** Always prefer mse on android. ([05855a4](https://github.com/muxinc/elements/commit/05855a43cb9f87602203fab896e6e6876d7a1b12))
238
+
239
+ # [0.9.0](https://github.com/muxinc/elements/compare/@mux/playback-core@0.8.0...@mux/playback-core@0.9.0) (2022-07-21)
240
+
241
+ ### Features
242
+
243
+ - **playback-core, mux-player:** Add support to removeTextTrack. Remove all identified tracks on hls destroy. Add methods to mux-player. ([d090b06](https://github.com/muxinc/elements/commit/d090b060a8b8b3772e74762176af9881299bf894))
244
+ - **playback-core:** prefer remove() and append() for elements. ([90bbbcb](https://github.com/muxinc/elements/commit/90bbbcbccf74bc30be56ad8c84b3db1d00ab6665))
245
+
246
+ # 0.8.0 (2022-07-05)
247
+
248
+ ### Bug Fixes
249
+
250
+ - live autoplay with preload=metadata should wait for new data ([c290067](https://github.com/muxinc/elements/commit/c290067f6b90bbc256af96974f5475a858bc1638))
251
+ - make mux-video errors more uniform, fix async ([#183](https://github.com/muxinc/elements/issues/183)) ([0ea4dc3](https://github.com/muxinc/elements/commit/0ea4dc3beafc7d8a6c5078087d14f3f4bac5dda7))
252
+ - make preload attribute work with hls.js ([dfb519c](https://github.com/muxinc/elements/commit/dfb519c0aa8b281c03e3a0232589cc4b99c3ca34))
253
+ - make sure we only seek with a finite number ([b8369ee](https://github.com/muxinc/elements/commit/b8369eec75672aeba75edc7b2c8cc5b49df5616e))
254
+ - only seek to live on first play for non-native hls ([c842f02](https://github.com/muxinc/elements/commit/c842f02427fad8da849f74d43964f48bc8197264))
255
+ - playback core require and default file extension is .cjs.js ([3552e39](https://github.com/muxinc/elements/commit/3552e3927c3e8767292d5cabdab16dd98f6de451))
256
+ - **playback-core:** add function to playback-core to generate init time from mux.utils.now(). ([bc26a23](https://github.com/muxinc/elements/commit/bc26a23c40b447818ecb2f0a779edffe003dcf33))
257
+ - **playback-core:** implement track/cue management in playback-core ([#201](https://github.com/muxinc/elements/issues/201)) ([35f2f91](https://github.com/muxinc/elements/commit/35f2f919e52e833c999451d1d06ff3a47bdcdc65))
258
+ - **playback-core:** Use window polyfill in playback-core for things like CustomEvent. ([980c4b6](https://github.com/muxinc/elements/commit/980c4b63f9199b7be1aee75a42565fff65767ea8))
259
+ - 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))
260
+ - preload=metadata now triggers loadedmetadata ([73c49a6](https://github.com/muxinc/elements/commit/73c49a6b3b11512b3e206c27d65cdef8472e461d))
261
+ - preload=metadata with autoplay ([620e994](https://github.com/muxinc/elements/commit/620e99469a2d23fb6e96485c115312edea1adb54))
262
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
263
+ - stop tracking non-fatal errors in Mux data ([e00316b](https://github.com/muxinc/elements/commit/e00316b2452312fdcbf955c2d7bad5c7058dde28))
264
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
265
+
266
+ ### Features
267
+
268
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
269
+ - add errorTranslator prop & muxVideo.error property ([#195](https://github.com/muxinc/elements/issues/195)) ([3afc2f0](https://github.com/muxinc/elements/commit/3afc2f0af75a5ad8ef00257a4ebc34882ff8c9ab))
270
+ - **dvr:** Initial effort for DVR support. ([d58d78f](https://github.com/muxinc/elements/commit/d58d78fe6716d21ff03e5edb7d47c73e85ef4c85))
271
+ - Extended autoplay options ([#116](https://github.com/muxinc/elements/issues/116)) ([475e838](https://github.com/muxinc/elements/commit/475e83884f641c578fa601c9501147d485fc1831))
272
+ - Handle inferred mux data env key for custom domain cases. ([eedc19e](https://github.com/muxinc/elements/commit/eedc19e2025844f99909cf3d0751811b55239329))
273
+ - **mux-video:** Add basic support for custom video domains. ([82cfb15](https://github.com/muxinc/elements/commit/82cfb15ecb9729329018c1fe999a1585bcae55c7))
274
+ - only autoplay with the autoplay attribute ([#99](https://github.com/muxinc/elements/issues/99)) ([c6204fb](https://github.com/muxinc/elements/commit/c6204fb03bc78e3b55d09f9e2aa547cd62825633))
275
+ - **playback-core:** Update config values for hls to be more consistent with native playback and to reasonable trim the backbuffer during playback. ([f01fd21](https://github.com/muxinc/elements/commit/f01fd21b16228458f1b4e25eebe86871956ae051))
276
+
277
+ # [0.7.0](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.6.0...@mux-elements/playback-core@0.7.0) (2022-06-23)
278
+
279
+ ### Bug Fixes
280
+
281
+ - preload=metadata now triggers loadedmetadata ([73c49a6](https://github.com/muxinc/elements/commit/73c49a6b3b11512b3e206c27d65cdef8472e461d))
282
+
283
+ ### Features
284
+
285
+ - Handle inferred mux data env key for custom domain cases. ([eedc19e](https://github.com/muxinc/elements/commit/eedc19e2025844f99909cf3d0751811b55239329))
286
+ - **mux-video:** Add basic support for custom video domains. ([82cfb15](https://github.com/muxinc/elements/commit/82cfb15ecb9729329018c1fe999a1585bcae55c7))
287
+
288
+ # [0.6.0](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.5.2...@mux-elements/playback-core@0.6.0) (2022-06-06)
289
+
290
+ ### Features
291
+
292
+ - **dvr:** Initial effort for DVR support. ([d58d78f](https://github.com/muxinc/elements/commit/d58d78fe6716d21ff03e5edb7d47c73e85ef4c85))
293
+
294
+ ## [0.5.2](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.5.1...@mux-elements/playback-core@0.5.2) (2022-05-26)
295
+
296
+ ### Bug Fixes
297
+
298
+ - stop tracking non-fatal errors in Mux data ([e00316b](https://github.com/muxinc/elements/commit/e00316b2452312fdcbf955c2d7bad5c7058dde28))
299
+
300
+ ## [0.5.1](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.5.0...@mux-elements/playback-core@0.5.1) (2022-05-23)
301
+
302
+ ### Bug Fixes
303
+
304
+ - playback core require and default file extension is .cjs.js ([3552e39](https://github.com/muxinc/elements/commit/3552e3927c3e8767292d5cabdab16dd98f6de451))
305
+
306
+ # [0.5.0](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.4.1...@mux-elements/playback-core@0.5.0) (2022-05-20)
307
+
308
+ ### Bug Fixes
309
+
310
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
311
+
312
+ ### Features
313
+
314
+ - **playback-core:** Update config values for hls to be more consistent with native playback and to reasonable trim the backbuffer during playback. ([f01fd21](https://github.com/muxinc/elements/commit/f01fd21b16228458f1b4e25eebe86871956ae051))
315
+
316
+ ## [0.4.1](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.4.0...@mux-elements/playback-core@0.4.1) (2022-05-10)
317
+
318
+ ### Bug Fixes
319
+
320
+ - make sure we only seek with a finite number ([b8369ee](https://github.com/muxinc/elements/commit/b8369eec75672aeba75edc7b2c8cc5b49df5616e))
321
+ - only seek to live on first play for non-native hls ([c842f02](https://github.com/muxinc/elements/commit/c842f02427fad8da849f74d43964f48bc8197264))
322
+
323
+ # [0.4.0](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.3.3...@mux-elements/playback-core@0.4.0) (2022-05-03)
324
+
325
+ ### Bug Fixes
326
+
327
+ - live autoplay with preload=metadata should wait for new data ([c290067](https://github.com/muxinc/elements/commit/c290067f6b90bbc256af96974f5475a858bc1638))
328
+ - make preload attribute work with hls.js ([dfb519c](https://github.com/muxinc/elements/commit/dfb519c0aa8b281c03e3a0232589cc4b99c3ca34))
329
+ - **playback-core:** implement track/cue management in playback-core ([#201](https://github.com/muxinc/elements/issues/201)) ([35f2f91](https://github.com/muxinc/elements/commit/35f2f919e52e833c999451d1d06ff3a47bdcdc65))
330
+ - preload=metadata with autoplay ([620e994](https://github.com/muxinc/elements/commit/620e99469a2d23fb6e96485c115312edea1adb54))
331
+
332
+ ### Features
333
+
334
+ - add errorTranslator prop & muxVideo.error property ([#195](https://github.com/muxinc/elements/issues/195)) ([3afc2f0](https://github.com/muxinc/elements/commit/3afc2f0af75a5ad8ef00257a4ebc34882ff8c9ab))
335
+
336
+ ## [0.3.3](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.3.2...@mux-elements/playback-core@0.3.3) (2022-04-22)
337
+
338
+ ### Bug Fixes
339
+
340
+ - 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))
341
+
342
+ ## [0.3.2](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.3.1...@mux-elements/playback-core@0.3.2) (2022-04-18)
343
+
344
+ ### Bug Fixes
345
+
346
+ - make mux-video errors more uniform, fix async ([#183](https://github.com/muxinc/elements/issues/183)) ([0ea4dc3](https://github.com/muxinc/elements/commit/0ea4dc3beafc7d8a6c5078087d14f3f4bac5dda7))
347
+
348
+ ## [0.3.1](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.3.0...@mux-elements/playback-core@0.3.1) (2022-04-12)
349
+
350
+ **Note:** Version bump only for package @mux-elements/playback-core
351
+
352
+ # [0.3.0](https://github.com/muxinc/elements/compare/@mux-elements/playback-core@0.2.0...@mux-elements/playback-core@0.3.0) (2022-03-28)
353
+
354
+ ### Bug Fixes
355
+
356
+ - **playback-core:** add function to playback-core to generate init time from mux.utils.now(). ([bc26a23](https://github.com/muxinc/elements/commit/bc26a23c40b447818ecb2f0a779edffe003dcf33))
357
+ - **playback-core:** Use window polyfill in playback-core for things like CustomEvent. ([980c4b6](https://github.com/muxinc/elements/commit/980c4b63f9199b7be1aee75a42565fff65767ea8))
358
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
359
+
360
+ ### Features
361
+
362
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
package/dist/cjs.json ADDED
@@ -0,0 +1,152 @@
1
+ {
2
+ "inputs": {
3
+ "src/hls.ts": {
4
+ "bytes": 127,
5
+ "imports": []
6
+ },
7
+ "src/errors.ts": {
8
+ "bytes": 1336,
9
+ "imports": []
10
+ },
11
+ "src/types.ts": {
12
+ "bytes": 4473,
13
+ "imports": []
14
+ },
15
+ "src/util.ts": {
16
+ "bytes": 3305,
17
+ "imports": [
18
+ {
19
+ "path": "src/types.ts",
20
+ "kind": "import-statement"
21
+ }
22
+ ]
23
+ },
24
+ "src/autoplay.ts": {
25
+ "bytes": 4533,
26
+ "imports": [
27
+ {
28
+ "path": "src/util.ts",
29
+ "kind": "import-statement"
30
+ },
31
+ {
32
+ "path": "src/types.ts",
33
+ "kind": "import-statement"
34
+ },
35
+ {
36
+ "path": "src/hls.ts",
37
+ "kind": "import-statement"
38
+ }
39
+ ]
40
+ },
41
+ "src/preload.ts": {
42
+ "bytes": 1932,
43
+ "imports": [
44
+ {
45
+ "path": "src/util.ts",
46
+ "kind": "import-statement"
47
+ }
48
+ ]
49
+ },
50
+ "src/tracks.ts": {
51
+ "bytes": 9685,
52
+ "imports": [
53
+ {
54
+ "path": "src/hls.ts",
55
+ "kind": "import-statement"
56
+ },
57
+ {
58
+ "path": "src/util.ts",
59
+ "kind": "import-statement"
60
+ }
61
+ ]
62
+ },
63
+ "src/pdt.ts": {
64
+ "bytes": 1104,
65
+ "imports": []
66
+ },
67
+ "src/index.ts": {
68
+ "bytes": 25497,
69
+ "imports": [
70
+ {
71
+ "path": "src/hls.ts",
72
+ "kind": "import-statement"
73
+ },
74
+ {
75
+ "path": "src/errors.ts",
76
+ "kind": "import-statement"
77
+ },
78
+ {
79
+ "path": "src/autoplay.ts",
80
+ "kind": "import-statement"
81
+ },
82
+ {
83
+ "path": "src/preload.ts",
84
+ "kind": "import-statement"
85
+ },
86
+ {
87
+ "path": "src/tracks.ts",
88
+ "kind": "import-statement"
89
+ },
90
+ {
91
+ "path": "src/pdt.ts",
92
+ "kind": "import-statement"
93
+ },
94
+ {
95
+ "path": "src/util.ts",
96
+ "kind": "import-statement"
97
+ },
98
+ {
99
+ "path": "src/types.ts",
100
+ "kind": "import-statement"
101
+ },
102
+ {
103
+ "path": "src/types.ts",
104
+ "kind": "import-statement"
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ "outputs": {
110
+ "dist/index.cjs.js.map": {
111
+ "imports": [],
112
+ "exports": [],
113
+ "inputs": {},
114
+ "bytes": 80355
115
+ },
116
+ "dist/index.cjs.js": {
117
+ "imports": [],
118
+ "exports": [],
119
+ "entryPoint": "src/index.ts",
120
+ "inputs": {
121
+ "src/index.ts": {
122
+ "bytesInOutput": 9216
123
+ },
124
+ "src/hls.ts": {
125
+ "bytesInOutput": 39
126
+ },
127
+ "src/errors.ts": {
128
+ "bytesInOutput": 831
129
+ },
130
+ "src/types.ts": {
131
+ "bytesInOutput": 350
132
+ },
133
+ "src/util.ts": {
134
+ "bytesInOutput": 696
135
+ },
136
+ "src/autoplay.ts": {
137
+ "bytesInOutput": 894
138
+ },
139
+ "src/preload.ts": {
140
+ "bytesInOutput": 561
141
+ },
142
+ "src/tracks.ts": {
143
+ "bytesInOutput": 3549
144
+ },
145
+ "src/pdt.ts": {
146
+ "bytesInOutput": 360
147
+ }
148
+ },
149
+ "bytes": 17117
150
+ }
151
+ }
152
+ }