@mux/mux-video 0.8.6 → 0.9.0-canary.0-a6790e7

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,198 @@
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.9.0](https://github.com/muxinc/elements/compare/@mux/mux-video@0.8.6...@mux/mux-video@0.9.0) (2022-10-05)
7
+
8
+ ### Bug Fixes
9
+
10
+ - preload bugs, add more tests ([bcfc23d](https://github.com/muxinc/elements/commit/bcfc23d0415d6bc5ffd1f65a8704f1ae40d251b9))
11
+ - preload for mux-audio, add tests ([e795fe0](https://github.com/muxinc/elements/commit/e795fe047af1feac832786aa03d8f419e57881b5))
12
+ - preload playback core change ([15313ea](https://github.com/muxinc/elements/commit/15313eaad81f748b5853a0fdaabfe141963f885e))
13
+ - subsequent preload changes ([bd49465](https://github.com/muxinc/elements/commit/bd494653192c205eed043292427946848e1824f5))
14
+
15
+ ### Features
16
+
17
+ - add `prefer-playback` attribute ([#402](https://github.com/muxinc/elements/issues/402)) ([8da36d6](https://github.com/muxinc/elements/commit/8da36d6b597ddbc4ae006873fee13a971b7ec2f3))
18
+ - remove deprecated .hls and .video props ([#408](https://github.com/muxinc/elements/issues/408)) ([2bd4861](https://github.com/muxinc/elements/commit/2bd48618d1b59d054e470ce9011c5c2f4904f8b6))
19
+
20
+ ### BREAKING CHANGES
21
+
22
+ - remove deprecated .hls and .video props.
23
+
24
+ ## [0.8.6](https://github.com/muxinc/elements/compare/@mux/mux-video@0.8.5...@mux/mux-video@0.8.6) (2022-09-16)
25
+
26
+ ### Bug Fixes
27
+
28
+ - mux-video & mux-audio memory leak ([#387](https://github.com/muxinc/elements/issues/387)) ([4a0d921](https://github.com/muxinc/elements/commit/4a0d921c49a3bf730ad86a77e46a085c44ef91ea))
29
+ - update PlaybackEngine types ([1873781](https://github.com/muxinc/elements/commit/187378165a83e70d62bd5ba954b4986d0ae50738))
30
+
31
+ ## [0.8.5](https://github.com/muxinc/elements/compare/@mux/mux-video@0.8.4...@mux/mux-video@0.8.5) (2022-08-31)
32
+
33
+ ### Bug Fixes
34
+
35
+ - polyfills mutating global ([#355](https://github.com/muxinc/elements/issues/355)) ([71d18a4](https://github.com/muxinc/elements/commit/71d18a427f0171bb214a0df7c1425d3d1bddc47a))
36
+
37
+ ## [0.8.4](https://github.com/muxinc/elements/compare/@mux/mux-video@0.8.3...@mux/mux-video@0.8.4) (2022-08-03)
38
+
39
+ **Note:** Version bump only for package @mux/mux-video
40
+
41
+ ## [0.8.3](https://github.com/muxinc/elements/compare/@mux/mux-video@0.8.2...@mux/mux-video@0.8.3) (2022-08-02)
42
+
43
+ ### Bug Fixes
44
+
45
+ - 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)
46
+
47
+ ## [0.8.2](https://github.com/muxinc/elements/compare/@mux/mux-video@0.8.1...@mux/mux-video@0.8.2) (2022-07-21)
48
+
49
+ **Note:** Version bump only for package @mux/mux-video
50
+
51
+ ## [0.8.1](https://github.com/muxinc/elements/compare/@mux/mux-video@0.8.0...@mux/mux-video@0.8.1) (2022-07-05)
52
+
53
+ **Note:** Version bump only for package @mux/mux-video
54
+
55
+ # 0.8.0 (2022-07-05)
56
+
57
+ ### Bug Fixes
58
+
59
+ - 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))
60
+ - clear some state on playbackId change ([#174](https://github.com/muxinc/elements/issues/174)) ([af0738e](https://github.com/muxinc/elements/commit/af0738ea5ae5a75861f75fc2ae3809ada735f3e2))
61
+ - custom video events handling ([#203](https://github.com/muxinc/elements/issues/203)) ([a909f89](https://github.com/muxinc/elements/commit/a909f89a69ee0d4b67e9d9371ac0f80984016181))
62
+ - error message was not passed back to player ([ade8143](https://github.com/muxinc/elements/commit/ade81438834610a7bddfa158ff20ec671ccd508f))
63
+ - 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))
64
+ - importing castable-video ([44cbb2f](https://github.com/muxinc/elements/commit/44cbb2f26290952ac8d3fe51a1d933352b0b9134))
65
+ - keep .hls but have it log a warning saying to use .\_hls ([11e6c10](https://github.com/muxinc/elements/commit/11e6c102a7e238bc8104c52ae9b94e7e3c2c7e19))
66
+ - make mux-player size based on video element ([#185](https://github.com/muxinc/elements/issues/185)) ([e4af9a8](https://github.com/muxinc/elements/commit/e4af9a885720f172837eb20ea49dc96bf66a77be))
67
+ - **mux-video:** initial muted autoplay attribute should autoplay muted ([#148](https://github.com/muxinc/elements/issues/148)) ([0757127](https://github.com/muxinc/elements/commit/0757127bc3095b43d3b265e46b5eb8123a7e1bb5))
68
+ - **mux-video:** prevent forward custom attrs ([#172](https://github.com/muxinc/elements/issues/172)) ([91a7812](https://github.com/muxinc/elements/commit/91a7812dff7163396440d8d1af26f94d04d3fea3))
69
+ - **mux-video:** use generateInitTime() instead of Date.now. ([3ac1722](https://github.com/muxinc/elements/commit/3ac1722dc2140b1970323d96fa908e384682f93e))
70
+ - 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))
71
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
72
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
73
+ - update condition for when we should use hls vs native playback. ([b5ada22](https://github.com/muxinc/elements/commit/b5ada22c35be0757442706f9b19b7f53333e8359))
74
+
75
+ ### Features
76
+
77
+ - (interim solution) use local version of CustomVideoElement with updated styles so mux-video will better correspond to video size/position/layout behavior. Add example html for smoke testing. ([5705ebf](https://github.com/muxinc/elements/commit/5705ebf18d9faf9684d2950a2fd3e3476d641c8c))
78
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
79
+ - Add built-in player_version support (fixes [#8](https://github.com/muxinc/elements/issues/8)) ([f623a88](https://github.com/muxinc/elements/commit/f623a882df7cc2464a3243b44e7b666c387425e7))
80
+ - add casting logic without cast-button ([#237](https://github.com/muxinc/elements/issues/237)) ([f7f1fe9](https://github.com/muxinc/elements/commit/f7f1fe9713f8c2dcedb2840f463b5478d6fffca0))
81
+ - add errorTranslator prop & muxVideo.error property ([#195](https://github.com/muxinc/elements/issues/195)) ([3afc2f0](https://github.com/muxinc/elements/commit/3afc2f0af75a5ad8ef00257a4ebc34882ff8c9ab))
82
+ - Add high priority metadata attribute support. Add playback id as video id defaulting. (fixes [#6](https://github.com/muxinc/elements/issues/6)) ([8dbbcbb](https://github.com/muxinc/elements/commit/8dbbcbbc4740bbefb1c733b857f9a2b2992fd1b7))
83
+ - 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)
84
+ - Add prefer-native support to use native video playback of hls if available. (fixes [#5](https://github.com/muxinc/elements/issues/5)). ([3578195](https://github.com/muxinc/elements/commit/3578195857e314d6691aebd19cf9d54063e03019))
85
+ - add support for mux-data beaconDomain. Add support for stream-type and stream-type-specific hls config. ([d99c069](https://github.com/muxinc/elements/commit/d99c06968c25a65bf406fda138e89925a30f229d))
86
+ - Add support for playback_id with query params (fixes [#7](https://github.com/muxinc/elements/issues/7)). ([6b44897](https://github.com/muxinc/elements/commit/6b44897f743551c0760d1c80d52b756b507dc00e))
87
+ - Extended autoplay options ([#116](https://github.com/muxinc/elements/issues/116)) ([475e838](https://github.com/muxinc/elements/commit/475e83884f641c578fa601c9501147d485fc1831))
88
+ - handle 'big boy' cases as well. ([7e2d671](https://github.com/muxinc/elements/commit/7e2d67182ce669ada008222a4016f11e771293a2))
89
+ - make sure mux data is monitoring as early as possible. ([d821ec5](https://github.com/muxinc/elements/commit/d821ec5e49130cf87811b3d6f56d05730330bd4f))
90
+ - **mux-video-init:** 'bake in' hls error recovery. Only auto-load if we have a src. ([a16cd11](https://github.com/muxinc/elements/commit/a16cd112b8a7dafeaf317bff47cf2ef0db1ff067))
91
+ - **mux-video-init:** (temporarily) adding polyfill to mux-video to allow server side smoke testing. ([36eefc8](https://github.com/muxinc/elements/commit/36eefc8962f8e0317fe11deb79aad017de0640a3))
92
+ - **mux-video-init:** Add basic snowpack build (currenty based on media-chrome but will change) plus example. ([467a604](https://github.com/muxinc/elements/commit/467a6042ce4eee327628301235f15c1f6dd41829))
93
+ - **mux-video-init:** add controls to simplify using example ([923a561](https://github.com/muxinc/elements/commit/923a561ee9f52f9a1c53313ecee70044315717f6))
94
+ - **mux-video-init:** Add support initial support for debug, mux data metadata. Update typedefs. Update example. ([7845462](https://github.com/muxinc/elements/commit/7845462eeb1a2553a9bd3ffc728305d45e747201))
95
+ - **mux-video-init:** Adding basic integration of mux-embed (untested). ([2d86620](https://github.com/muxinc/elements/commit/2d86620344c234be7f518e3f0f33ce7f19bfef14))
96
+ - **mux-video-init:** Adding Hls as export of mux-video root module. Adding stub for env-key to use mux data/mux-embed. ([fecde00](https://github.com/muxinc/elements/commit/fecde0055da0d177e3927f12d4d487ca0884c7e5))
97
+ - **mux-video-init:** Adding support for playback id. Clean up example. ([a48f4c6](https://github.com/muxinc/elements/commit/a48f4c64bc8984c8a9b007663c859ca968bdd09b))
98
+ - **mux-video-init:** Beef up typings for mux-embed. ([3b86e54](https://github.com/muxinc/elements/commit/3b86e5433b6f06c5d9d95623d4e9623bdf95835c))
99
+ - **mux-video-init:** example of loading metadata from a URL ([7c47434](https://github.com/muxinc/elements/commit/7c47434c42a31365a9b219a2c00d9203a85c1258))
100
+ - **mux-video-init:** handle various src attr changes. Add unload. ([bdf0559](https://github.com/muxinc/elements/commit/bdf05592488600c3a8b65354a11be4436d2cf045))
101
+ - **mux-video-init:** Initial implementation of mux-video. Start scaffolding out components, types, and build infrastructure. ([b6d7f35](https://github.com/muxinc/elements/commit/b6d7f35fad1b926f644212df6d01522b0ba4a814))
102
+ - **mux-video:** Add basic support for custom video domains. ([82cfb15](https://github.com/muxinc/elements/commit/82cfb15ecb9729329018c1fe999a1585bcae55c7))
103
+ - rename hls to \_hls ([2d53bc2](https://github.com/muxinc/elements/commit/2d53bc2517840d65a8fd5e2bb2d979ce8b491116))
104
+ - **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))
105
+ - **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))
106
+ - 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))
107
+
108
+ # [0.7.0](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.6.1...@mux-elements/mux-video@0.7.0) (2022-06-23)
109
+
110
+ ### Features
111
+
112
+ - **mux-video:** Add basic support for custom video domains. ([82cfb15](https://github.com/muxinc/elements/commit/82cfb15ecb9729329018c1fe999a1585bcae55c7))
113
+
114
+ ## [0.6.1](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.6.0...@mux-elements/mux-video@0.6.1) (2022-06-07)
115
+
116
+ ### Bug Fixes
117
+
118
+ - importing castable-video ([44cbb2f](https://github.com/muxinc/elements/commit/44cbb2f26290952ac8d3fe51a1d933352b0b9134))
119
+
120
+ # [0.6.0](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.5.4...@mux-elements/mux-video@0.6.0) (2022-06-06)
121
+
122
+ ### Features
123
+
124
+ - add casting logic without cast-button ([#237](https://github.com/muxinc/elements/issues/237)) ([f7f1fe9](https://github.com/muxinc/elements/commit/f7f1fe9713f8c2dcedb2840f463b5478d6fffca0))
125
+
126
+ ## [0.5.4](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.5.3...@mux-elements/mux-video@0.5.4) (2022-05-26)
127
+
128
+ **Note:** Version bump only for package @mux-elements/mux-video
129
+
130
+ ## [0.5.3](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.5.2...@mux-elements/mux-video@0.5.3) (2022-05-23)
131
+
132
+ **Note:** Version bump only for package @mux-elements/mux-video
133
+
134
+ ## [0.5.2](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.5.1...@mux-elements/mux-video@0.5.2) (2022-05-20)
135
+
136
+ ### Bug Fixes
137
+
138
+ - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
139
+
140
+ ## [0.5.1](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.5.0...@mux-elements/mux-video@0.5.1) (2022-05-10)
141
+
142
+ ### Bug Fixes
143
+
144
+ - error message was not passed back to player ([ade8143](https://github.com/muxinc/elements/commit/ade81438834610a7bddfa158ff20ec671ccd508f))
145
+ - 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))
146
+
147
+ # [0.5.0](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.4.5...@mux-elements/mux-video@0.5.0) (2022-05-03)
148
+
149
+ ### Bug Fixes
150
+
151
+ - custom video events handling ([#203](https://github.com/muxinc/elements/issues/203)) ([a909f89](https://github.com/muxinc/elements/commit/a909f89a69ee0d4b67e9d9371ac0f80984016181))
152
+ - keep .hls but have it log a warning saying to use .\_hls ([11e6c10](https://github.com/muxinc/elements/commit/11e6c102a7e238bc8104c52ae9b94e7e3c2c7e19))
153
+
154
+ ### Features
155
+
156
+ - add errorTranslator prop & muxVideo.error property ([#195](https://github.com/muxinc/elements/issues/195)) ([3afc2f0](https://github.com/muxinc/elements/commit/3afc2f0af75a5ad8ef00257a4ebc34882ff8c9ab))
157
+ - 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)
158
+ - rename hls to \_hls ([2d53bc2](https://github.com/muxinc/elements/commit/2d53bc2517840d65a8fd5e2bb2d979ce8b491116))
159
+
160
+ ## [0.4.5](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.4.4...@mux-elements/mux-video@0.4.5) (2022-04-22)
161
+
162
+ ### Bug Fixes
163
+
164
+ - 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))
165
+
166
+ ## [0.4.4](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.4.3...@mux-elements/mux-video@0.4.4) (2022-04-18)
167
+
168
+ ### Bug Fixes
169
+
170
+ - make mux-player size based on video element ([#185](https://github.com/muxinc/elements/issues/185)) ([e4af9a8](https://github.com/muxinc/elements/commit/e4af9a885720f172837eb20ea49dc96bf66a77be))
171
+
172
+ ## [0.4.3](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.4.2...@mux-elements/mux-video@0.4.3) (2022-04-12)
173
+
174
+ ### Bug Fixes
175
+
176
+ - clear some state on playbackId change ([#174](https://github.com/muxinc/elements/issues/174)) ([af0738e](https://github.com/muxinc/elements/commit/af0738ea5ae5a75861f75fc2ae3809ada735f3e2))
177
+
178
+ ## [0.4.2](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.4.1...@mux-elements/mux-video@0.4.2) (2022-04-08)
179
+
180
+ ### Bug Fixes
181
+
182
+ - **mux-video:** prevent forward custom attrs ([#172](https://github.com/muxinc/elements/issues/172)) ([91a7812](https://github.com/muxinc/elements/commit/91a7812dff7163396440d8d1af26f94d04d3fea3))
183
+
184
+ ## [0.4.1](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.4.0...@mux-elements/mux-video@0.4.1) (2022-04-01)
185
+
186
+ **Note:** Version bump only for package @mux-elements/mux-video
187
+
188
+ # [0.4.0](https://github.com/muxinc/elements/compare/@mux-elements/mux-video@0.3.0...@mux-elements/mux-video@0.4.0) (2022-03-28)
189
+
190
+ ### Bug Fixes
191
+
192
+ - **mux-video:** initial muted autoplay attribute should autoplay muted ([#148](https://github.com/muxinc/elements/issues/148)) ([0757127](https://github.com/muxinc/elements/commit/0757127bc3095b43d3b265e46b5eb8123a7e1bb5))
193
+ - **mux-video:** use generateInitTime() instead of Date.now. ([3ac1722](https://github.com/muxinc/elements/commit/3ac1722dc2140b1970323d96fa908e384682f93e))
194
+ - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
195
+
196
+ ### Features
197
+
198
+ - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
package/README.md CHANGED
@@ -146,16 +146,20 @@ When `metadata-url` is specified then `<mux-video>` will asychronously fetch the
146
146
 
147
147
  Take a look at the [metadata guide](https://docs.mux.com/guides/data/make-your-data-actionable-with-metadata) to view an exhaustive list of available values.
148
148
 
149
- ### Advanced: prefer-mse
149
+ ### Advanced: prefer-playback
150
150
 
151
- Pass the `prefer-mse` attribute to prioritze the in-code [Media Source Extensions](https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API) based engine (currently [hls.js](https://github.com/video-dev/hls.js/)) when MSE are supported by the browser. (Without `prefer-mse`, the default behaviour for `<mux-video>` is to try the native playback via the underlying `<video/>` tag )
151
+ By default `<mux-video>` will try to use native playback via the underlying `<video>` tag whenever possible.
152
+ However, it can also instead use an in-code player when the browser browser supports [Media Source Extension](https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API).
153
+ This includes MSE in Mac OS Safari.
154
+
155
+ If you prefer to use the in-code MSE-based engine (currently hls.js) whenever possible, then set the `prefer-playback` attribute to `mse`.
152
156
 
153
157
  ```html
154
158
  <mux-video
155
159
  playback-id="DS00Spx1CV902MCtPj5WknGlR102V5HFkDe"
156
160
  metadata-video-title="Big Buck Bunny"
157
161
  metadata-viewer-user-id="user-id-1234"
158
- prefer-mse
162
+ prefer-playback="mse"
159
163
  controls
160
164
  >
161
165
  </mux-video>
@@ -170,7 +174,7 @@ By default `<mux-video>` will try to figure out the type of media you're trying
170
174
  src="https://stream.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe/high.mp4"
171
175
  metadata-video-title="Big Buck Bunny"
172
176
  metadata-viewer-user-id="user-id-1234"
173
- prefer-mse
177
+ prefer-playback="mse"
174
178
  controls
175
179
  >
176
180
  </mux-video>
@@ -184,7 +188,7 @@ Sometimes, however, your `src` URL may not have an identifiable extension. In th
184
188
  type="application/vnd.apple.mpegurl"
185
189
  metadata-video-title="Big Buck Bunny"
186
190
  metadata-viewer-user-id="user-id-1234"
187
- prefer-mse
191
+ prefer-playback="mse"
188
192
  controls
189
193
  >
190
194
  </mux-video>
@@ -198,7 +202,7 @@ Or, for convenience, we also support the shorthand `type="hls`:
198
202
  type="hls"
199
203
  metadata-video-title="Big Buck Bunny"
200
204
  metadata-viewer-user-id="user-id-1234"
201
- prefer-mse
205
+ prefer-playback="mse"
202
206
  controls
203
207
  >
204
208
  </mux-video>
package/dist/cjs.json ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "inputs": {
3
+ "../../shared/polyfills/index.js": {
4
+ "bytes": 1440,
5
+ "imports": []
6
+ },
7
+ "src/env.ts": {
8
+ "bytes": 391,
9
+ "imports": []
10
+ },
11
+ "../../shared/castable-video/castable-video.js": {
12
+ "bytes": 21249,
13
+ "imports": []
14
+ },
15
+ "src/CustomVideoElement.js": {
16
+ "bytes": 9196,
17
+ "imports": [
18
+ {
19
+ "path": "../../shared/polyfills/index.js",
20
+ "kind": "import-statement"
21
+ },
22
+ {
23
+ "path": "../../shared/castable-video/castable-video.js",
24
+ "kind": "import-statement"
25
+ }
26
+ ]
27
+ },
28
+ "src/index.ts": {
29
+ "bytes": 13366,
30
+ "imports": [
31
+ {
32
+ "path": "../../shared/polyfills/index.js",
33
+ "kind": "import-statement"
34
+ },
35
+ {
36
+ "path": "src/env.ts",
37
+ "kind": "import-statement"
38
+ },
39
+ {
40
+ "path": "src/CustomVideoElement.js",
41
+ "kind": "import-statement"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ "outputs": {
47
+ "dist/index.cjs.js.map": {
48
+ "imports": [],
49
+ "exports": [],
50
+ "inputs": {},
51
+ "bytes": 71963
52
+ },
53
+ "dist/index.cjs.js": {
54
+ "imports": [],
55
+ "exports": [],
56
+ "entryPoint": "src/index.ts",
57
+ "inputs": {
58
+ "src/index.ts": {
59
+ "bytesInOutput": 5671
60
+ },
61
+ "../../shared/polyfills/index.js": {
62
+ "bytesInOutput": 749
63
+ },
64
+ "src/env.ts": {
65
+ "bytesInOutput": 72
66
+ },
67
+ "../../shared/castable-video/castable-video.js": {
68
+ "bytesInOutput": 10880
69
+ },
70
+ "src/CustomVideoElement.js": {
71
+ "bytesInOutput": 3181
72
+ }
73
+ },
74
+ "bytes": 21563
75
+ }
76
+ }
77
+ }
package/dist/esm.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "inputs": {
3
+ "../../shared/polyfills/index.js": {
4
+ "bytes": 1440,
5
+ "imports": []
6
+ },
7
+ "src/env.ts": {
8
+ "bytes": 391,
9
+ "imports": []
10
+ },
11
+ "../../shared/castable-video/castable-video.js": {
12
+ "bytes": 21249,
13
+ "imports": []
14
+ },
15
+ "src/CustomVideoElement.js": {
16
+ "bytes": 9196,
17
+ "imports": [
18
+ {
19
+ "path": "../../shared/polyfills/index.js",
20
+ "kind": "import-statement"
21
+ },
22
+ {
23
+ "path": "../../shared/castable-video/castable-video.js",
24
+ "kind": "import-statement"
25
+ }
26
+ ]
27
+ },
28
+ "src/index.ts": {
29
+ "bytes": 13366,
30
+ "imports": [
31
+ {
32
+ "path": "../../shared/polyfills/index.js",
33
+ "kind": "import-statement"
34
+ },
35
+ {
36
+ "path": "src/env.ts",
37
+ "kind": "import-statement"
38
+ },
39
+ {
40
+ "path": "src/CustomVideoElement.js",
41
+ "kind": "import-statement"
42
+ }
43
+ ]
44
+ }
45
+ },
46
+ "outputs": {
47
+ "dist/index.mjs.map": {
48
+ "imports": [],
49
+ "exports": [],
50
+ "inputs": {},
51
+ "bytes": 72067
52
+ },
53
+ "dist/index.mjs": {
54
+ "imports": [],
55
+ "exports": [
56
+ "Attributes",
57
+ "MediaError",
58
+ "VideoEvents",
59
+ "default"
60
+ ],
61
+ "entryPoint": "src/index.ts",
62
+ "inputs": {
63
+ "../../shared/polyfills/index.js": {
64
+ "bytesInOutput": 749
65
+ },
66
+ "src/index.ts": {
67
+ "bytesInOutput": 5547
68
+ },
69
+ "src/env.ts": {
70
+ "bytesInOutput": 72
71
+ },
72
+ "../../shared/castable-video/castable-video.js": {
73
+ "bytesInOutput": 10876
74
+ },
75
+ "src/CustomVideoElement.js": {
76
+ "bytesInOutput": 3181
77
+ }
78
+ },
79
+ "bytes": 21095
80
+ }
81
+ }
82
+ }
package/dist/iife.json ADDED
@@ -0,0 +1,119 @@
1
+ {
2
+ "inputs": {
3
+ "../../shared/polyfills/index.js": {
4
+ "bytes": 1440,
5
+ "imports": []
6
+ },
7
+ "../../node_modules/mux-embed/dist/mux.js": {
8
+ "bytes": 105451,
9
+ "imports": []
10
+ },
11
+ "../../node_modules/hls.js/dist/hls.js": {
12
+ "bytes": 1036845,
13
+ "imports": []
14
+ },
15
+ "../playback-core/dist/index.mjs": {
16
+ "bytes": 9635,
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.js",
24
+ "kind": "import-statement"
25
+ },
26
+ {
27
+ "path": "../../node_modules/hls.js/dist/hls.js",
28
+ "kind": "import-statement"
29
+ },
30
+ {
31
+ "path": "../../node_modules/hls.js/dist/hls.js",
32
+ "kind": "import-statement"
33
+ }
34
+ ]
35
+ },
36
+ "src/env.ts": {
37
+ "bytes": 391,
38
+ "imports": []
39
+ },
40
+ "../../shared/castable-video/castable-video.js": {
41
+ "bytes": 21249,
42
+ "imports": []
43
+ },
44
+ "src/CustomVideoElement.js": {
45
+ "bytes": 9196,
46
+ "imports": [
47
+ {
48
+ "path": "../../shared/polyfills/index.js",
49
+ "kind": "import-statement"
50
+ },
51
+ {
52
+ "path": "../../shared/castable-video/castable-video.js",
53
+ "kind": "import-statement"
54
+ }
55
+ ]
56
+ },
57
+ "src/index.ts": {
58
+ "bytes": 13366,
59
+ "imports": [
60
+ {
61
+ "path": "../../shared/polyfills/index.js",
62
+ "kind": "import-statement"
63
+ },
64
+ {
65
+ "path": "../playback-core/dist/index.mjs",
66
+ "kind": "import-statement"
67
+ },
68
+ {
69
+ "path": "src/env.ts",
70
+ "kind": "import-statement"
71
+ },
72
+ {
73
+ "path": "src/CustomVideoElement.js",
74
+ "kind": "import-statement"
75
+ }
76
+ ]
77
+ }
78
+ },
79
+ "outputs": {
80
+ "dist/mux-video.js.map": {
81
+ "imports": [],
82
+ "exports": [],
83
+ "inputs": {},
84
+ "bytes": 1819962
85
+ },
86
+ "dist/mux-video.js": {
87
+ "imports": [],
88
+ "exports": [],
89
+ "entryPoint": "src/index.ts",
90
+ "inputs": {
91
+ "../../node_modules/mux-embed/dist/mux.js": {
92
+ "bytesInOutput": 105617
93
+ },
94
+ "../../node_modules/hls.js/dist/hls.js": {
95
+ "bytesInOutput": 374054
96
+ },
97
+ "../../shared/polyfills/index.js": {
98
+ "bytesInOutput": 767
99
+ },
100
+ "../playback-core/dist/index.mjs": {
101
+ "bytesInOutput": 9271
102
+ },
103
+ "src/env.ts": {
104
+ "bytesInOutput": 72
105
+ },
106
+ "../../shared/castable-video/castable-video.js": {
107
+ "bytesInOutput": 11041
108
+ },
109
+ "src/CustomVideoElement.js": {
110
+ "bytesInOutput": 3219
111
+ },
112
+ "src/index.ts": {
113
+ "bytesInOutput": 5422
114
+ }
115
+ },
116
+ "bytes": 510601
117
+ }
118
+ }
119
+ }