@mux/mux-player-react 1.1.1-canary.0-af1b390 → 1.1.2

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/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Mux, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mux/mux-player-react",
3
- "version": "1.1.1-canary.0-af1b390",
3
+ "version": "1.1.2",
4
4
  "description": "An open source Mux player for React that Just Works™",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.mjs",
@@ -52,13 +52,8 @@
52
52
  }
53
53
  },
54
54
  "dependencies": {
55
- "@mux/mux-audio": "0.7.0-canary.0-af1b390",
56
- "@mux/mux-audio-react": "0.5.0-canary.0-af1b390",
57
- "@mux/mux-elements-codemod": "1.1.4-canary.0-af1b390",
58
- "@mux/mux-player": "1.1.1-canary.0-af1b390",
59
- "@mux/mux-uploader-react": "0.1.0-canary.102-af1b390",
60
- "@mux/mux-video-react": "0.6.0-canary.0-af1b390",
61
- "@mux/playback-core": "0.9.1-canary.102-af1b390",
55
+ "@mux/mux-player": "1.1.2",
56
+ "@mux/playback-core": "0.12.0",
62
57
  "prop-types": "^15.7.2"
63
58
  },
64
59
  "devDependencies": {
@@ -71,5 +66,6 @@
71
66
  "react-dom": "^17.0.2",
72
67
  "shx": "^0.3.4",
73
68
  "typescript": "^4.5.2"
74
- }
69
+ },
70
+ "gitHead": "af1b39070c53d83edf013580ce2740af974e9ff6"
75
71
  }
package/CHANGELOG.md DELETED
@@ -1,208 +0,0 @@
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
- ## [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)
7
-
8
- **Note:** Version bump only for package @mux/mux-player-react
9
-
10
- ## [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)
11
-
12
- **Note:** Version bump only for package @mux/mux-player-react
13
-
14
- # [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)
15
-
16
- ### Features
17
-
18
- - add ability to unset poster ([#447](https://github.com/muxinc/elements/issues/447)) ([d61e295](https://github.com/muxinc/elements/commit/d61e295952d59ba42ad077c4a2b7fb3bb0d7079c))
19
-
20
- # [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)
21
-
22
- ### Bug Fixes
23
-
24
- - **mux-player-react:** Make currentTime prop work. ([65b098d](https://github.com/muxinc/elements/commit/65b098da731d53e93d42c3cb3882d287847ac043))
25
- - **mux-player-react:** remove vestigial tertiaryColor from types. ([73a5155](https://github.com/muxinc/elements/commit/73a5155549a1c0fa44f8c95c9bf329ffd4543788))
26
-
27
- ### Features
28
-
29
- - add `prefer-playback` attribute ([#402](https://github.com/muxinc/elements/issues/402)) ([8da36d6](https://github.com/muxinc/elements/commit/8da36d6b597ddbc4ae006873fee13a971b7ec2f3))
30
-
31
- # [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)
32
-
33
- ### Bug Fixes
34
-
35
- - **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))
36
-
37
- ### Features
38
-
39
- - export gesture-layer as a part ([89e90ee](https://github.com/muxinc/elements/commit/89e90ee3268da23c8071fc9cd2f21efc534f1849)), closes [#379](https://github.com/muxinc/elements/issues/379)
40
-
41
- # [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)
42
-
43
- ### Bug Fixes
44
-
45
- - cjs main entrypoint for React pkgs ([#360](https://github.com/muxinc/elements/issues/360)) ([473875f](https://github.com/muxinc/elements/commit/473875f4869a6ab9b04b44a90cc52b620a15ac83))
46
-
47
- # [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)
48
-
49
- ### Features
50
-
51
- - 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)
52
- - **mux-player-react:** Add defaultShowRemainingTime to mux-player-react. ([7a58731](https://github.com/muxinc/elements/commit/7a58731ba6d6965942f0e3d487821dd464ce422c))
53
- - **mux-player-react:** add missing event listeners ([03cac1a](https://github.com/muxinc/elements/commit/03cac1abeb4215ea89f03f899b9132ab18486699))
54
- - **mux-player-react:** Add support for hideDuration and playbackRates. ([58ababc](https://github.com/muxinc/elements/commit/58ababc79c1391fda311b82c42180404d01850bb))
55
- - **mux-player-react:** Add title type for MuxPlayer (react). ([22c80fe](https://github.com/muxinc/elements/commit/22c80fecd7c856b234a1fa2a65e7efd2b4e98f0b))
56
- - **mux-player, mux-player-react:** make hide-duration a controlsList value. ([cb3b2f2](https://github.com/muxinc/elements/commit/cb3b2f27b804878e5a223893cc6fc75dac0a4572))
57
- - use CSS vars to toggle off elements ([#349](https://github.com/muxinc/elements/issues/349)) ([69128d6](https://github.com/muxinc/elements/commit/69128d62ee1a9e5139d8fab3b5faf56e494dfa8b))
58
-
59
- # [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)
60
-
61
- **Note:** Version bump only for package @mux/mux-player-react
62
-
63
- # [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)
64
-
65
- ### Features
66
-
67
- - types and docs for nohotkeys in mux-player-react ([a9f78d4](https://github.com/muxinc/elements/commit/a9f78d422d64bf661de59cad834aa1c819e88ff8))
68
-
69
- # [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)
70
-
71
- ### Features
72
-
73
- - add defaultMuted, defaultPlaybackRate props ([#252](https://github.com/muxinc/elements/issues/252)) ([1a72165](https://github.com/muxinc/elements/commit/1a7216545cba27b34bc743cf5dd6225d4dcae738))
74
-
75
- # [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)
76
-
77
- **Note:** Version bump only for package @mux/mux-player-react
78
-
79
- # [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)
80
-
81
- **Note:** Version bump only for package @mux/mux-player-react
82
-
83
- # 0.1.0-beta.21 (2022-07-05)
84
-
85
- ### Bug Fixes
86
-
87
- - enable cast docs + cast fix ([#253](https://github.com/muxinc/elements/issues/253)) ([421d515](https://github.com/muxinc/elements/commit/421d515cc4700cf9d7ca4f0d09aa600ec4adac7b))
88
- - **mux-player-react:** Missing preload prop type def. ([19b2e15](https://github.com/muxinc/elements/commit/19b2e15dc844e6fb0f90e9ad62a436587260094a))
89
- - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
90
- - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
91
- - update react peerDependencies to allow ^18 ([1cfb019](https://github.com/muxinc/elements/commit/1cfb019b71cf9aa280abccaf4a7818d585b56d86))
92
-
93
- ### Features
94
-
95
- - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
96
- - 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))
97
- - Extended autoplay options ([#116](https://github.com/muxinc/elements/issues/116)) ([475e838](https://github.com/muxinc/elements/commit/475e83884f641c578fa601c9501147d485fc1831))
98
- - **mux-player-react:** Add audio only. Cleanup StreamTypes source of truth. ([4f37d7f](https://github.com/muxinc/elements/commit/4f37d7f10ef66eef48af0dd9cf1efc79322b660d))
99
- - **mux-player-react:** Add basic support for custom video domains. ([ac61aff](https://github.com/muxinc/elements/commit/ac61affffdd38ef0df3151d2f75023f7d2772688))
100
- - **mux-player-react:** Add thumbnail-time support to mux-player-react. Document prop. ([d1c1a4c](https://github.com/muxinc/elements/commit/d1c1a4c65b200c59bab7cc68453c0e307eb75ae4))
101
-
102
- ### Reverts
103
-
104
- - Revert "Publish" ([42fc528](https://github.com/muxinc/elements/commit/42fc528216346ff52d967cec5392a1191f74a1c0))
105
-
106
- # [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)
107
-
108
- ### Bug Fixes
109
-
110
- - enable cast docs + cast fix ([#253](https://github.com/muxinc/elements/issues/253)) ([421d515](https://github.com/muxinc/elements/commit/421d515cc4700cf9d7ca4f0d09aa600ec4adac7b))
111
-
112
- ### Features
113
-
114
- - **mux-player-react:** Add basic support for custom video domains. ([ac61aff](https://github.com/muxinc/elements/commit/ac61affffdd38ef0df3151d2f75023f7d2772688))
115
-
116
- # [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)
117
-
118
- **Note:** Version bump only for package @mux-elements/mux-player-react
119
-
120
- # [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)
121
-
122
- ### Features
123
-
124
- - **mux-player-react:** Add audio only. Cleanup StreamTypes source of truth. ([4f37d7f](https://github.com/muxinc/elements/commit/4f37d7f10ef66eef48af0dd9cf1efc79322b660d))
125
-
126
- # [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)
127
-
128
- **Note:** Version bump only for package @mux-elements/mux-player-react
129
-
130
- # [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)
131
-
132
- **Note:** Version bump only for package @mux-elements/mux-player-react
133
-
134
- # [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)
135
-
136
- **Note:** Version bump only for package @mux-elements/mux-player-react
137
-
138
- # [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)
139
-
140
- ### Bug Fixes
141
-
142
- - switch cjs extension to .cjs.js ([30e83c3](https://github.com/muxinc/elements/commit/30e83c3ce0bd9bfda4817c30ffe0921e425619e4))
143
-
144
- # [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)
145
-
146
- **Note:** Version bump only for package @mux-elements/mux-player-react
147
-
148
- # [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)
149
-
150
- **Note:** Version bump only for package @mux-elements/mux-player-react
151
-
152
- # [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)
153
-
154
- ### Bug Fixes
155
-
156
- - **mux-player-react:** Missing preload prop type def. ([19b2e15](https://github.com/muxinc/elements/commit/19b2e15dc844e6fb0f90e9ad62a436587260094a))
157
-
158
- ### Features
159
-
160
- - **mux-player-react:** Add thumbnail-time support to mux-player-react. Document prop. ([d1c1a4c](https://github.com/muxinc/elements/commit/d1c1a4c65b200c59bab7cc68453c0e307eb75ae4))
161
-
162
- # [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)
163
-
164
- **Note:** Version bump only for package @mux-elements/mux-player-react
165
-
166
- # [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)
167
-
168
- **Note:** Version bump only for package @mux-elements/mux-player-react
169
-
170
- # [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)
171
-
172
- **Note:** Version bump only for package @mux-elements/mux-player-react
173
-
174
- # [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)
175
-
176
- **Note:** Version bump only for package @mux-elements/mux-player-react
177
-
178
- # [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)
179
-
180
- **Note:** Version bump only for package @mux-elements/mux-player-react
181
-
182
- # [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)
183
-
184
- **Note:** Version bump only for package @mux-elements/mux-player-react
185
-
186
- # [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)
187
-
188
- **Note:** Version bump only for package @mux-elements/mux-player-react
189
-
190
- # [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)
191
-
192
- **Note:** Version bump only for package @mux-elements/mux-player-react
193
-
194
- # [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)
195
-
196
- ### Reverts
197
-
198
- - Revert "Publish" ([42fc528](https://github.com/muxinc/elements/commit/42fc528216346ff52d967cec5392a1191f74a1c0))
199
-
200
- # [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)
201
-
202
- ### Bug Fixes
203
-
204
- - prettier format all elements files ([741d607](https://github.com/muxinc/elements/commit/741d607521ca9578cfad9f0a9216a6565b4c56a1))
205
-
206
- ### Features
207
-
208
- - add beaconCollectionDomain option to replace beaconDomain ([a44b699](https://github.com/muxinc/elements/commit/a44b699ae3138590b9d953f693f95971694658df))
package/dist/cjs.json DELETED
@@ -1,72 +0,0 @@
1
- {
2
- "inputs": {
3
- "src/common/utils.ts": {
4
- "bytes": 1964,
5
- "imports": []
6
- },
7
- "src/useCombinedRefs.ts": {
8
- "bytes": 892,
9
- "imports": []
10
- },
11
- "src/useObjectPropEffect.ts": {
12
- "bytes": 1850,
13
- "imports": []
14
- },
15
- "src/env.ts": {
16
- "bytes": 245,
17
- "imports": []
18
- },
19
- "src/index.tsx": {
20
- "bytes": 8455,
21
- "imports": [
22
- {
23
- "path": "src/common/utils.ts",
24
- "kind": "import-statement"
25
- },
26
- {
27
- "path": "src/useCombinedRefs.ts",
28
- "kind": "import-statement"
29
- },
30
- {
31
- "path": "src/useObjectPropEffect.ts",
32
- "kind": "import-statement"
33
- },
34
- {
35
- "path": "src/env.ts",
36
- "kind": "import-statement"
37
- }
38
- ]
39
- }
40
- },
41
- "outputs": {
42
- "dist/index.cjs.js.map": {
43
- "imports": [],
44
- "exports": [],
45
- "inputs": {},
46
- "bytes": 19993
47
- },
48
- "dist/index.cjs.js": {
49
- "imports": [],
50
- "exports": [],
51
- "entryPoint": "src/index.tsx",
52
- "inputs": {
53
- "src/index.tsx": {
54
- "bytesInOutput": 1703
55
- },
56
- "src/common/utils.ts": {
57
- "bytesInOutput": 504
58
- },
59
- "src/useCombinedRefs.ts": {
60
- "bytesInOutput": 171
61
- },
62
- "src/useObjectPropEffect.ts": {
63
- "bytesInOutput": 601
64
- },
65
- "src/env.ts": {
66
- "bytesInOutput": 71
67
- }
68
- },
69
- "bytes": 3662
70
- }
71
- }
72
- }
package/dist/esm.json DELETED
@@ -1,75 +0,0 @@
1
- {
2
- "inputs": {
3
- "src/common/utils.ts": {
4
- "bytes": 1964,
5
- "imports": []
6
- },
7
- "src/useCombinedRefs.ts": {
8
- "bytes": 892,
9
- "imports": []
10
- },
11
- "src/useObjectPropEffect.ts": {
12
- "bytes": 1850,
13
- "imports": []
14
- },
15
- "src/env.ts": {
16
- "bytes": 245,
17
- "imports": []
18
- },
19
- "src/index.tsx": {
20
- "bytes": 8455,
21
- "imports": [
22
- {
23
- "path": "src/common/utils.ts",
24
- "kind": "import-statement"
25
- },
26
- {
27
- "path": "src/useCombinedRefs.ts",
28
- "kind": "import-statement"
29
- },
30
- {
31
- "path": "src/useObjectPropEffect.ts",
32
- "kind": "import-statement"
33
- },
34
- {
35
- "path": "src/env.ts",
36
- "kind": "import-statement"
37
- }
38
- ]
39
- }
40
- },
41
- "outputs": {
42
- "dist/index.mjs.map": {
43
- "imports": [],
44
- "exports": [],
45
- "inputs": {},
46
- "bytes": 19938
47
- },
48
- "dist/index.mjs": {
49
- "imports": [],
50
- "exports": [
51
- "MediaError",
52
- "default"
53
- ],
54
- "entryPoint": "src/index.tsx",
55
- "inputs": {
56
- "src/index.tsx": {
57
- "bytesInOutput": 1601
58
- },
59
- "src/common/utils.ts": {
60
- "bytesInOutput": 494
61
- },
62
- "src/useCombinedRefs.ts": {
63
- "bytesInOutput": 174
64
- },
65
- "src/useObjectPropEffect.ts": {
66
- "bytesInOutput": 596
67
- },
68
- "src/env.ts": {
69
- "bytesInOutput": 71
70
- }
71
- },
72
- "bytes": 3011
73
- }
74
- }
75
- }