video-react-new 0.17.0 → 0.18.0
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 +72 -72
- package/LICENSE +1 -1
- package/README.md +12 -12
- package/package.json +6 -6
- package/styles/fonts/video-react.svg +1 -1
- package/styles/icons.json +4 -4
- package/styles/scss/components/bezel.scss +43 -43
- package/styles/scss/components/big-play-button.scss +17 -17
- package/styles/scss/components/button.scss +1 -1
- package/styles/scss/components/closed-caption.scss +4 -4
- package/styles/scss/components/control-bar.scss +10 -10
- package/styles/scss/components/control.scss +6 -6
- package/styles/scss/components/fullscreen.scss +2 -2
- package/styles/scss/components/loading-spinner.scss +22 -22
- package/styles/scss/components/menu/menu-inline.scss +10 -10
- package/styles/scss/components/menu/menu-popup.scss +9 -9
- package/styles/scss/components/menu/menu.scss +12 -12
- package/styles/scss/components/play-pause.scss +5 -5
- package/styles/scss/components/playback-rate.scss +4 -4
- package/styles/scss/components/poster.scss +1 -1
- package/styles/scss/components/progress.scss +40 -40
- package/styles/scss/components/slider.scss +3 -3
- package/styles/scss/components/time.scss +3 -3
- package/styles/scss/components/volume.scss +38 -38
- package/styles/scss/icons.scss +103 -103
- package/styles/scss/layout.scss +14 -14
- package/styles/scss/mixins.scss +3 -3
- package/styles/scss/variables.scss +9 -9
- /package/styles/scss/{video-react.scss → video-react-new.scss} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,170 +1,170 @@
|
|
|
1
1
|
<a name="0.16.0"></a>
|
|
2
|
-
# [0.16.0](https://github.com/video-react/video-react/compare/0.15.0...0.16.0) (2022-11-09)
|
|
2
|
+
# [0.16.0](https://github.com/video-react-new/video-react-new/compare/0.15.0...0.16.0) (2022-11-09)
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
<a name="0.14.1"></a>
|
|
7
|
-
## [0.14.1](https://github.com/video-react/video-react/compare/0.14.0...0.14.1) (2019-07-24)
|
|
7
|
+
## [0.14.1](https://github.com/video-react-new/video-react-new/compare/0.14.0...0.14.1) (2019-07-24)
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
### Bug Fixes
|
|
11
11
|
|
|
12
|
-
* bad seek time on iOS safari ([19efac4](https://github.com/video-react/video-react/commit/19efac4))
|
|
12
|
+
* bad seek time on iOS safari ([19efac4](https://github.com/video-react-new/video-react-new/commit/19efac4))
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
<a name="0.14.0"></a>
|
|
17
|
-
# [0.14.0](https://github.com/video-react/video-react/compare/0.13.9...0.14.0) (2019-06-21)
|
|
17
|
+
# [0.14.0](https://github.com/video-react-new/video-react-new/compare/0.13.9...0.14.0) (2019-06-21)
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
### Features
|
|
21
21
|
|
|
22
|
-
* New ClosedCaptionButton component ([6bea3a1](https://github.com/video-react/video-react/commit/6bea3a1))
|
|
22
|
+
* New ClosedCaptionButton component ([6bea3a1](https://github.com/video-react-new/video-react-new/commit/6bea3a1))
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
<a name="0.13.9"></a>
|
|
27
|
-
## [0.13.9](https://github.com/video-react/video-react/compare/0.13.8...0.13.9) (2019-06-18)
|
|
27
|
+
## [0.13.9](https://github.com/video-react-new/video-react-new/compare/0.13.8...0.13.9) (2019-06-18)
|
|
28
28
|
|
|
29
|
-
* fullscreen events are no longer shared across players ([#285](https://github.com/video-react/video-react/issues/285)) ([986d844](https://github.com/video-react/video-react/commit/986d844))
|
|
29
|
+
* fullscreen events are no longer shared across players ([#285](https://github.com/video-react-new/video-react-new/issues/285)) ([986d844](https://github.com/video-react-new/video-react-new/commit/986d844))
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
<a name="0.13.8"></a>
|
|
34
|
-
## [0.13.8](https://github.com/video-react/video-react/compare/0.13.7...0.13.8) (2019-06-12)
|
|
34
|
+
## [0.13.8](https://github.com/video-react-new/video-react-new/compare/0.13.7...0.13.8) (2019-06-12)
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
### Bug Fixes
|
|
38
38
|
|
|
39
|
-
* re-focus to root element when switching fullscreen ([#276](https://github.com/video-react/video-react/issues/276)) ([3e38a7f](https://github.com/video-react/video-react/commit/3e38a7f))
|
|
39
|
+
* re-focus to root element when switching fullscreen ([#276](https://github.com/video-react-new/video-react-new/issues/276)) ([3e38a7f](https://github.com/video-react-new/video-react-new/commit/3e38a7f))
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
<a name="0.13.7"></a>
|
|
44
|
-
## [0.13.7](https://github.com/video-react/video-react/compare/0.13.6...0.13.7) (2019-05-02)
|
|
44
|
+
## [0.13.7](https://github.com/video-react-new/video-react-new/compare/0.13.6...0.13.7) (2019-05-02)
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
### Bug Fixes
|
|
48
48
|
|
|
49
|
-
* add tabindex to video tag to make it focusable in latest Chrome ([#262](https://github.com/video-react/video-react/issues/262)) ([01291c7](https://github.com/video-react/video-react/commit/01291c7))
|
|
49
|
+
* add tabindex to video tag to make it focusable in latest Chrome ([#262](https://github.com/video-react-new/video-react-new/issues/262)) ([01291c7](https://github.com/video-react-new/video-react-new/commit/01291c7))
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
### Features
|
|
53
53
|
|
|
54
|
-
* expose MenuButton ([ed835a2](https://github.com/video-react/video-react/commit/ed835a2))
|
|
54
|
+
* expose MenuButton ([ed835a2](https://github.com/video-react-new/video-react-new/commit/ed835a2))
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
<a name="0.13.6"></a>
|
|
59
|
-
## [0.13.6](https://github.com/video-react/video-react/compare/0.13.5...0.13.6) (2019-03-18)
|
|
59
|
+
## [0.13.6](https://github.com/video-react-new/video-react-new/compare/0.13.5...0.13.6) (2019-03-18)
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
### Bug Fixes
|
|
63
63
|
|
|
64
|
-
* removed a dubious player state setting that caused LoadSpinner invisible problem ([363a659](https://github.com/video-react/video-react/commit/363a659))
|
|
65
|
-
* **Slider:** remove event listeners when component will unmount ([17baf50](https://github.com/video-react/video-react/commit/17baf50))
|
|
64
|
+
* removed a dubious player state setting that caused LoadSpinner invisible problem ([363a659](https://github.com/video-react-new/video-react-new/commit/363a659))
|
|
65
|
+
* **Slider:** remove event listeners when component will unmount ([17baf50](https://github.com/video-react-new/video-react-new/commit/17baf50))
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
<a name="0.13.5"></a>
|
|
70
|
-
## [0.13.5](https://github.com/video-react/video-react/compare/0.13.4...0.13.5) (2019-03-13)
|
|
70
|
+
## [0.13.5](https://github.com/video-react-new/video-react-new/compare/0.13.4...0.13.5) (2019-03-13)
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
### Bug Fixes
|
|
74
74
|
|
|
75
|
-
* add missing '@babel/runtime' dependencies ([7ff1036](https://github.com/video-react/video-react/commit/7ff1036))
|
|
75
|
+
* add missing '@babel/runtime' dependencies ([7ff1036](https://github.com/video-react-new/video-react-new/commit/7ff1036))
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
<a name="0.13.4"></a>
|
|
80
|
-
## [0.13.4](https://github.com/video-react/video-react/compare/0.13.3...0.13.4) (2019-03-10)
|
|
80
|
+
## [0.13.4](https://github.com/video-react-new/video-react-new/compare/0.13.3...0.13.4) (2019-03-10)
|
|
81
81
|
|
|
82
82
|
### Features
|
|
83
83
|
|
|
84
|
-
* Customizable delay time for auto hide of ControlBar [#233](https://github.com/video-react/video-react/issues/233)
|
|
84
|
+
* Customizable delay time for auto hide of ControlBar [#233](https://github.com/video-react-new/video-react-new/issues/233)
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
### Bug Fixes
|
|
88
88
|
|
|
89
|
-
* Missing commonjs support ([#235](https://github.com/video-react/video-react/issues/235))
|
|
89
|
+
* Missing commonjs support ([#235](https://github.com/video-react-new/video-react-new/issues/235))
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
<a name="0.13.3"></a>
|
|
93
|
-
## [0.13.3](https://github.com/video-react/video-react/compare/0.13.2...0.13.3) (2019-03-02)
|
|
93
|
+
## [0.13.3](https://github.com/video-react-new/video-react-new/compare/0.13.2...0.13.3) (2019-03-02)
|
|
94
94
|
|
|
95
95
|
|
|
96
96
|
### Bug Fixes
|
|
97
97
|
|
|
98
|
-
* fix `preload` prop in `Player` ([#230](https://github.com/video-react/video-react/issues/230))
|
|
98
|
+
* fix `preload` prop in `Player` ([#230](https://github.com/video-react-new/video-react-new/issues/230))
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
<a name="0.13.2"></a>
|
|
103
|
-
## [0.13.2](https://github.com/video-react/video-react/compare/0.13.1...0.13.2) (2019-01-11)
|
|
103
|
+
## [0.13.2](https://github.com/video-react-new/video-react-new/compare/0.13.1...0.13.2) (2019-01-11)
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
### Bug Fixes
|
|
107
107
|
|
|
108
|
-
* Fixed className propagation problem ([5a169cd](https://github.com/video-react/video-react/commit/5a169cd756bb10cd64f09f561157cb71588fbdaa)), closes [#186](https://github.com/video-react/video-react/issues/186)
|
|
108
|
+
* Fixed className propagation problem ([5a169cd](https://github.com/video-react-new/video-react-new/commit/5a169cd756bb10cd64f09f561157cb71588fbdaa)), closes [#186](https://github.com/video-react-new/video-react-new/issues/186)
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
<a name="0.13.1"></a>
|
|
112
|
-
## [0.13.1](https://github.com/video-react/video-react/compare/0.13.0...0.13.1) (2018-10-29)
|
|
112
|
+
## [0.13.1](https://github.com/video-react-new/video-react-new/compare/0.13.0...0.13.1) (2018-10-29)
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
<a name="0.13.0"></a>
|
|
117
|
-
## [0.13.0](https://github.com/video-react/video-react/compare/0.12.0...0.13.0) (2018-07-07)
|
|
117
|
+
## [0.13.0](https://github.com/video-react-new/video-react-new/compare/0.12.0...0.13.0) (2018-07-07)
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
<a name="0.12.0"></a>
|
|
122
|
-
## [0.12.0](https://github.com/video-react/video-react/compare/0.11.1...0.12.0) (2018-07-06)
|
|
122
|
+
## [0.12.0](https://github.com/video-react-new/video-react-new/compare/0.11.1...0.12.0) (2018-07-06)
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
### Bug Fixes
|
|
126
126
|
|
|
127
|
-
* Build dist before build docs ([85a11dd](https://github.com/video-react/video-react/commit/85a11dd))
|
|
127
|
+
* Build dist before build docs ([85a11dd](https://github.com/video-react-new/video-react-new/commit/85a11dd))
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
<a name="0.11.2"></a>
|
|
132
|
-
## [0.11.2](https://github.com/video-react/video-react/compare/0.11.1...0.11.2) (2018-06-07)
|
|
132
|
+
## [0.11.2](https://github.com/video-react-new/video-react-new/compare/0.11.1...0.11.2) (2018-06-07)
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
### Bug Fixes
|
|
136
136
|
|
|
137
|
-
* Build dist before build docs ([85a11dd](https://github.com/video-react/video-react/commit/85a11dd))
|
|
137
|
+
* Build dist before build docs ([85a11dd](https://github.com/video-react-new/video-react-new/commit/85a11dd))
|
|
138
138
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
<a name="0.11.1"></a>
|
|
142
|
-
## [0.11.1](https://github.com/video-react/video-react/compare/0.11.0...0.11.1) (2018-06-07)
|
|
142
|
+
## [0.11.1](https://github.com/video-react-new/video-react-new/compare/0.11.0...0.11.1) (2018-06-07)
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
### Bug Fixes
|
|
146
146
|
|
|
147
|
-
* Fixed clickable issue ([9a9a218](https://github.com/video-react/video-react/commit/9a9a218))
|
|
147
|
+
* Fixed clickable issue ([9a9a218](https://github.com/video-react-new/video-react-new/commit/9a9a218))
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
<a name="0.11.0"></a>
|
|
152
|
-
# [0.11.0](https://github.com/video-react/video-react/compare/0.10.9...0.11.0) (2018-06-07)
|
|
152
|
+
# [0.11.0](https://github.com/video-react-new/video-react-new/compare/0.10.9...0.11.0) (2018-06-07)
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
### Features
|
|
156
156
|
|
|
157
|
-
* Add property to disable click for shortcut [#101](https://github.com/video-react/video-react/issues/101) ([e29aee8](https://github.com/video-react/video-react/commit/e29aee8)), closes [#122](https://github.com/video-react/video-react/issues/122)
|
|
157
|
+
* Add property to disable click for shortcut [#101](https://github.com/video-react-new/video-react-new/issues/101) ([e29aee8](https://github.com/video-react-new/video-react-new/commit/e29aee8)), closes [#122](https://github.com/video-react-new/video-react-new/issues/122)
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
<a name="0.10.9"></a>
|
|
162
|
-
## [0.10.9](https://github.com/video-react/video-react/compare/0.10.8...0.10.9) (2018-05-23)
|
|
162
|
+
## [0.10.9](https://github.com/video-react-new/video-react-new/compare/0.10.8...0.10.9) (2018-05-23)
|
|
163
163
|
|
|
164
164
|
Hotfix for 0.10.8
|
|
165
165
|
|
|
166
166
|
<a name="0.10.8"></a>
|
|
167
|
-
## [0.10.8](https://github.com/video-react/video-react/compare/0.10.7...0.10.8) (2018-05-23)
|
|
167
|
+
## [0.10.8](https://github.com/video-react-new/video-react-new/compare/0.10.7...0.10.8) (2018-05-23)
|
|
168
168
|
|
|
169
169
|
|
|
170
170
|
|
|
@@ -174,28 +174,28 @@ v0.10.7
|
|
|
174
174
|
#110 Allow to render tooltip with custom text by Sergo(@rogaldh)
|
|
175
175
|
|
|
176
176
|
<a name="0.10.5"></a>
|
|
177
|
-
## [0.10.5](https://github.com/video-react/video-react/compare/v0.10.4...v0.10.5) (2018-04-24)
|
|
177
|
+
## [0.10.5](https://github.com/video-react-new/video-react-new/compare/v0.10.4...v0.10.5) (2018-04-24)
|
|
178
178
|
|
|
179
179
|
#105 Fix classnames overridden by props in volume bar by (Jordan Belford)
|
|
180
180
|
|
|
181
181
|
|
|
182
182
|
<a name="0.10.4"></a>
|
|
183
|
-
## [0.10.4](https://github.com/video-react/video-react/compare/0.10.3...0.10.4) (2018-03-19)
|
|
183
|
+
## [0.10.4](https://github.com/video-react-new/video-react-new/compare/0.10.3...0.10.4) (2018-03-19)
|
|
184
184
|
|
|
185
185
|
- Fixed #99 Cannot read property 'paused' of undefined
|
|
186
186
|
|
|
187
187
|
<a name="0.10.3"></a>
|
|
188
|
-
## [0.10.3](https://github.com/video-react/video-react/compare/v0.10.2...v0.10.3) (2018-03-16)
|
|
188
|
+
## [0.10.3](https://github.com/video-react-new/video-react-new/compare/v0.10.2...v0.10.3) (2018-03-16)
|
|
189
189
|
|
|
190
190
|
|
|
191
191
|
|
|
192
192
|
<a name="0.10.2"></a>
|
|
193
|
-
## [0.10.2](https://github.com/video-react/video-react/compare/v0.10.1...v0.10.2) (2018-03-16)
|
|
193
|
+
## [0.10.2](https://github.com/video-react-new/video-react-new/compare/v0.10.1...v0.10.2) (2018-03-16)
|
|
194
194
|
|
|
195
195
|
Fixed #97: Uncaught ReferenceError: babelHelpers is not defined
|
|
196
196
|
|
|
197
197
|
<a name="0.10.1"></a>
|
|
198
|
-
## [0.10.1](https://github.com/video-react/video-react/compare/v0.9.4...v0.10.1) (2018-03-15)
|
|
198
|
+
## [0.10.1](https://github.com/video-react-new/video-react-new/compare/v0.9.4...v0.10.1) (2018-03-15)
|
|
199
199
|
|
|
200
200
|
- Merged PR #81 by Roy Art(@rart): Allow the hosting App to provide the store for the player to use
|
|
201
201
|
- Merged PR #92 by Chase Maier(@chasemaier): Add type="button" to prevent form submit
|
|
@@ -223,74 +223,74 @@ Fixed fonts path issue in css
|
|
|
223
223
|
- Merged PR #64 - fix remove event listener
|
|
224
224
|
|
|
225
225
|
<a name="0.8.10"></a>
|
|
226
|
-
## [0.8.10](https://github.com/video-react/video-react/compare/v0.8.9...v0.8.10) (2017-11-16)
|
|
226
|
+
## [0.8.10](https://github.com/video-react-new/video-react-new/compare/v0.8.9...v0.8.10) (2017-11-16)
|
|
227
227
|
Fixed #54 unable to resolve redux module
|
|
228
228
|
|
|
229
229
|
|
|
230
230
|
<a name="0.8.9"></a>
|
|
231
|
-
## [0.8.9](https://github.com/video-react/video-react/compare/v0.8.8...v0.8.9) (2017-10-19)
|
|
231
|
+
## [0.8.9](https://github.com/video-react-new/video-react-new/compare/v0.8.8...v0.8.9) (2017-10-19)
|
|
232
232
|
|
|
233
233
|
Fixed #52 Uncaught DOMException user performs seek operations when the video state waiting is true
|
|
234
234
|
Do not pause while seeking
|
|
235
235
|
|
|
236
236
|
<a name="0.8.8"></a>
|
|
237
|
-
## [0.8.8](https://github.com/video-react/video-react/compare/v0.8.7...v0.8.8) (2017-09-08)
|
|
237
|
+
## [0.8.8](https://github.com/video-react-new/video-react-new/compare/v0.8.7...v0.8.8) (2017-09-08)
|
|
238
238
|
|
|
239
239
|
|
|
240
240
|
|
|
241
|
-
Fixed #49
|
|
241
|
+
Fixed #49 video-react-new does not support IE
|
|
242
242
|
Fixed #48 ControlBar className from property doesnt appear
|
|
243
243
|
|
|
244
244
|
<a name="0.8.6"></a>
|
|
245
|
-
## [0.8.6](https://github.com/video-react/video-react/compare/v0.8.5...v0.8.6) (2017-07-22)
|
|
245
|
+
## [0.8.6](https://github.com/video-react-new/video-react-new/compare/v0.8.5...v0.8.6) (2017-07-22)
|
|
246
246
|
|
|
247
247
|
Fixed #41 BigPlayButton Arrests Keyboard
|
|
248
248
|
|
|
249
249
|
<a name="0.8.5"></a>
|
|
250
|
-
## [0.8.5](https://github.com/video-react/video-react/compare/v0.8.4...v0.8.5) (2017-06-08)
|
|
250
|
+
## [0.8.5](https://github.com/video-react-new/video-react-new/compare/v0.8.4...v0.8.5) (2017-06-08)
|
|
251
251
|
|
|
252
252
|
Add option to always show volume control #38 by Alex Koppel (@arsduo)
|
|
253
253
|
|
|
254
254
|
<a name="0.8.4"></a>
|
|
255
|
-
## [0.8.4](https://github.com/video-react/video-react/compare/v0.8.3...v0.8.4) (2017-06-06)
|
|
255
|
+
## [0.8.4](https://github.com/video-react-new/video-react-new/compare/v0.8.3...v0.8.4) (2017-06-06)
|
|
256
256
|
|
|
257
257
|
Add crossOrigin prop to Video PR#37 by Juan D.(@juandjara)
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
<a name="0.8.3"></a>
|
|
261
|
-
## [0.8.3](https://github.com/video-react/video-react/compare/v0.8.2...v0.8.3) (2017-05-01)
|
|
261
|
+
## [0.8.3](https://github.com/video-react-new/video-react-new/compare/v0.8.2...v0.8.3) (2017-05-01)
|
|
262
262
|
|
|
263
263
|
|
|
264
264
|
|
|
265
265
|
Add an example on how to add a download button component.
|
|
266
266
|
|
|
267
267
|
<a name="0.8.2"></a>
|
|
268
|
-
## [0.8.2](https://github.com/video-react/video-react/compare/v0.8.1...v0.8.2) (2017-04-24)
|
|
268
|
+
## [0.8.2](https://github.com/video-react-new/video-react-new/compare/v0.8.1...v0.8.2) (2017-04-24)
|
|
269
269
|
|
|
270
270
|
<a name="0.8.1"></a>
|
|
271
|
-
## [0.8.1](https://github.com/video-react/video-react/compare/v0.7.8...v0.8.1) (2017-04-24)
|
|
271
|
+
## [0.8.1](https://github.com/video-react-new/video-react-new/compare/v0.7.8...v0.8.1) (2017-04-24)
|
|
272
272
|
- Upgrade for React 15.5
|
|
273
273
|
- Add `className` property for components #22
|
|
274
274
|
- Add `style` node to `pakcage.json` #29
|
|
275
275
|
|
|
276
276
|
<a name="0.7.8"></a>
|
|
277
|
-
## [0.7.8](https://github.com/video-react/video-react/compare/v0.7.7...v0.7.8) (2017-04-17)
|
|
277
|
+
## [0.7.8](https://github.com/video-react-new/video-react-new/compare/v0.7.7...v0.7.8) (2017-04-17)
|
|
278
278
|
Fixed #29
|
|
279
279
|
|
|
280
280
|
<a name="0.7.7"></a>
|
|
281
|
-
## [0.7.7](https://github.com/video-react/video-react/compare/v0.7.6...v0.7.7) (2017-04-14)
|
|
281
|
+
## [0.7.7](https://github.com/video-react-new/video-react-new/compare/v0.7.6...v0.7.7) (2017-04-14)
|
|
282
282
|
Fixed Tests
|
|
283
283
|
|
|
284
284
|
<a name="0.7.6"></a>
|
|
285
|
-
## [0.7.6](https://github.com/video-react/video-react/compare/v0.7.5...v0.7.6) (2017-04-14)
|
|
285
|
+
## [0.7.6](https://github.com/video-react-new/video-react-new/compare/v0.7.5...v0.7.6) (2017-04-14)
|
|
286
286
|
Calling VideoReact from outside (HTML script tag)
|
|
287
287
|
|
|
288
288
|
<a name="0.7.5"></a>
|
|
289
|
-
## [0.7.5](https://github.com/video-react/video-react/compare/0.7.4...v0.7.5) (2017-04-11)
|
|
289
|
+
## [0.7.5](https://github.com/video-react-new/video-react-new/compare/0.7.4...v0.7.5) (2017-04-11)
|
|
290
290
|
Fixed IE11 Issue by @yuheiy's help.
|
|
291
291
|
|
|
292
292
|
<a name="0.7.3"></a>
|
|
293
|
-
## [0.7.3](https://github.com/video-react/video-react/compare/0.7.2...v0.7.3) (2017-03-10)
|
|
293
|
+
## [0.7.3](https://github.com/video-react-new/video-react-new/compare/0.7.2...v0.7.3) (2017-03-10)
|
|
294
294
|
NO CHANGES
|
|
295
295
|
Test travis-ci, use it to publish new release
|
|
296
296
|
|
|
@@ -300,7 +300,7 @@ Test travis-ci, use it to publish new release
|
|
|
300
300
|
Fixed issue that the player can't handle blur event
|
|
301
301
|
|
|
302
302
|
<a name="0.7.0"></a>
|
|
303
|
-
# [0.7.0](https://github.com/video-react/video-react/compare/0.6.4...v0.7.0) (2017-02-20)
|
|
303
|
+
# [0.7.0](https://github.com/video-react-new/video-react-new/compare/0.6.4...v0.7.0) (2017-02-20)
|
|
304
304
|
|
|
305
305
|
* Rewrited Menu component.
|
|
306
306
|
* Changed component name from `PlaybackRate` to `PlaybackRateMenuButton`.
|
|
@@ -308,24 +308,24 @@ Fixed issue that the player can't handle blur event
|
|
|
308
308
|
* Added travis-ci config
|
|
309
309
|
|
|
310
310
|
<a name="0.6.4"></a>
|
|
311
|
-
## [0.6.4](https://github.com/video-react/video-react/compare/0.6.3...v0.6.4) (2017-02-12)
|
|
311
|
+
## [0.6.4](https://github.com/video-react-new/video-react-new/compare/0.6.3...v0.6.4) (2017-02-12)
|
|
312
312
|
|
|
313
313
|
Fixed issue #11 Make sure the children of Video can get video object
|
|
314
314
|
|
|
315
315
|
<a name="0.6.3"></a>
|
|
316
|
-
## [0.6.3](https://github.com/video-react/video-react/compare/0.6.2...v0.6.3) (2017-02-11)
|
|
316
|
+
## [0.6.3](https://github.com/video-react-new/video-react-new/compare/0.6.2...v0.6.3) (2017-02-11)
|
|
317
317
|
|
|
318
318
|
Fixed issue #8 Spinner + Play Both Apear when no source
|
|
319
319
|
Merged #9 Display LoadingSpinner.js only if the player has started
|
|
320
320
|
Fixed tests
|
|
321
321
|
|
|
322
322
|
<a name="0.6.2"></a>
|
|
323
|
-
## [0.6.2](https://github.com/video-react/video-react/compare/0.6.1...v0.6.2) (2017-01-19)
|
|
323
|
+
## [0.6.2](https://github.com/video-react-new/video-react-new/compare/0.6.1...v0.6.2) (2017-01-19)
|
|
324
324
|
|
|
325
325
|
Fixed issue #7. muted={false} not working
|
|
326
326
|
|
|
327
327
|
<a name="0.6.1"></a>
|
|
328
|
-
## [0.6.1](https://github.com/video-react/video-react/compare/0.5.1...v0.6.1) (2017-01-19)
|
|
328
|
+
## [0.6.1](https://github.com/video-react-new/video-react-new/compare/0.5.1...v0.6.1) (2017-01-19)
|
|
329
329
|
|
|
330
330
|
- Add more methods to control the video for the `Player` component
|
|
331
331
|
- Add the `subscribeToStateChange` method to subscribe the state changes
|
|
@@ -333,7 +333,7 @@ Fixed issue #7. muted={false} not working
|
|
|
333
333
|
- Add an example on how to control the player from outside.
|
|
334
334
|
|
|
335
335
|
<a name="0.5.1"></a>
|
|
336
|
-
## [0.5.1](https://github.com/video-react/video-react/compare/0.4.4...v0.5.1) (2016-12-02)
|
|
336
|
+
## [0.5.1](https://github.com/video-react-new/video-react-new/compare/0.4.4...v0.5.1) (2016-12-02)
|
|
337
337
|
|
|
338
338
|
- New features:
|
|
339
339
|
- Support keyboard navigation
|
|
@@ -342,12 +342,12 @@ Fixed issue #7. muted={false} not working
|
|
|
342
342
|
|
|
343
343
|
|
|
344
344
|
<a name="0.4.4"></a>
|
|
345
|
-
## [0.4.4](https://github.com/video-react/video-react/compare/0.4.3...v0.4.4) (2016-11-29)
|
|
345
|
+
## [0.4.4](https://github.com/video-react-new/video-react-new/compare/0.4.3...v0.4.4) (2016-11-29)
|
|
346
346
|
|
|
347
347
|
- Using base64 string for fonts in scss
|
|
348
348
|
|
|
349
349
|
<a name="0.4.3"></a>
|
|
350
|
-
## [0.4.3](https://github.com/video-react/video-react/compare/0.4.2...v0.4.3) (2016-11-24)
|
|
350
|
+
## [0.4.3](https://github.com/video-react-new/video-react-new/compare/0.4.2...v0.4.3) (2016-11-24)
|
|
351
351
|
|
|
352
352
|
- Shortcut only works when the play has focus
|
|
353
353
|
- Using `isVideoChild` prop to check if an element belongs to the Video.
|
|
@@ -356,7 +356,7 @@ Fixed issue #7. muted={false} not working
|
|
|
356
356
|
|
|
357
357
|
|
|
358
358
|
<a name="0.4.2"></a>
|
|
359
|
-
## [0.4.2](https://github.com/video-react/video-react/compare/0.4.1...v0.4.2) (2016-11-24)
|
|
359
|
+
## [0.4.2](https://github.com/video-react-new/video-react-new/compare/0.4.1...v0.4.2) (2016-11-24)
|
|
360
360
|
|
|
361
361
|
- Fixed source issue
|
|
362
362
|
- Move `redux` to peerDependencies
|
|
@@ -365,25 +365,25 @@ Fixed issue #7. muted={false} not working
|
|
|
365
365
|
- Add example for `Player`
|
|
366
366
|
|
|
367
367
|
<a name="0.4.1"></a>
|
|
368
|
-
## [0.4.1](https://github.com/video-react/video-react/compare/0.3.3...v0.4.1) (2016-11-23)
|
|
368
|
+
## [0.4.1](https://github.com/video-react-new/video-react-new/compare/0.3.3...v0.4.1) (2016-11-23)
|
|
369
369
|
|
|
370
370
|
- Using redux to manage state
|
|
371
371
|
- Add `playsInline` property
|
|
372
372
|
|
|
373
373
|
|
|
374
374
|
<a name="0.3.3"></a>
|
|
375
|
-
## [0.3.3](https://github.com/video-react/video-react/compare/0.3.2...v0.3.3) (2016-11-21)
|
|
375
|
+
## [0.3.3](https://github.com/video-react-new/video-react-new/compare/0.3.2...v0.3.3) (2016-11-21)
|
|
376
376
|
|
|
377
377
|
- Fixed VolumeMenu issue that it's vertical property did not work
|
|
378
378
|
- Added `autoPlay`, `startTime` properties for Player Component
|
|
379
379
|
|
|
380
380
|
<a name="0.3.2"></a>
|
|
381
|
-
## [0.3.2](https://github.com/video-react/video-react/compare/0.3.1...v0.3.2) (2016-11-19)
|
|
381
|
+
## [0.3.2](https://github.com/video-react-new/video-react-new/compare/0.3.1...v0.3.2) (2016-11-19)
|
|
382
382
|
|
|
383
383
|
Fixed Issue #2: The mouse and control bar do not disappear when it's in fullscreen mode
|
|
384
384
|
|
|
385
385
|
<a name="0.3.1"></a>
|
|
386
|
-
## [0.3.1](https://github.com/video-react/video-react/compare/0.2.4...v0.3.1) (2016-11-18)
|
|
386
|
+
## [0.3.1](https://github.com/video-react-new/video-react-new/compare/0.2.4...v0.3.1) (2016-11-18)
|
|
387
387
|
|
|
388
388
|
* Added keyboard shortcuts
|
|
389
389
|
* Display bezel icon for some keyboard operations
|
|
@@ -391,7 +391,7 @@ Fixed Issue #2: The mouse and control bar do not disappear when it's in fullscre
|
|
|
391
391
|
* Remove supports for React v0.14
|
|
392
392
|
|
|
393
393
|
<a name="0.2.4"></a>
|
|
394
|
-
## [0.2.4](https://github.com/video-react/video-react/compare/0.2.3...v0.2.4) (2016-11-15)
|
|
394
|
+
## [0.2.4](https://github.com/video-react-new/video-react-new/compare/0.2.3...v0.2.4) (2016-11-15)
|
|
395
395
|
|
|
396
396
|
* Filter children by `disabled` property.
|
|
397
397
|
* Inherit props from default component
|
|
@@ -399,7 +399,7 @@ Fixed Issue #2: The mouse and control bar do not disappear when it's in fullscre
|
|
|
399
399
|
|
|
400
400
|
|
|
401
401
|
<a name="0.2.1"></a>
|
|
402
|
-
## [0.2.1](https://github.com/video-react/video-react/compare/0.1.4...v0.2.1) (2016-11-13)
|
|
402
|
+
## [0.2.1](https://github.com/video-react-new/video-react-new/compare/0.1.4...v0.2.1) (2016-11-13)
|
|
403
403
|
|
|
404
404
|
* New components:
|
|
405
405
|
- CurrentTimeDisplay
|
|
@@ -418,7 +418,7 @@ Fixed Issue #2: The mouse and control bar do not disappear when it's in fullscre
|
|
|
418
418
|
|
|
419
419
|
### Features
|
|
420
420
|
|
|
421
|
-
* **Player:** `Player` is the root component of the
|
|
421
|
+
* **Player:** `Player` is the root component of the video-react-new player. All the others components should be in this component.
|
|
422
422
|
* **Video:** `Video` is the React component for Html5 video, it renders the Html5 video element to embed a video. It also is the container for all video sources. If there are more then one source, it could be failed back.
|
|
423
423
|
* **LoadingSpinner:** There would be a loading spinner to display before the video is loaded.
|
|
424
424
|
* **BigPlayButton:** Initial play button. Shows before the video has played. The hiding of the big play button is done via CSS and player states.
|
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# video-react-new
|
|
1
|
+
# video-react-new-new
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/js/video-react)
|
|
4
|
-
[](http://packagequality.com/#?package=video-react)
|
|
5
|
-
[](https://codecov.io/gh/video-react/video-react)
|
|
3
|
+
[](https://badge.fury.io/js/video-react-new)
|
|
4
|
+
[](http://packagequality.com/#?package=video-react-new)
|
|
5
|
+
[](https://codecov.io/gh/video-react-new/video-react-new)
|
|
6
6
|
|
|
7
7
|
Video.React is a web video player built from the ground up for an HTML5 world using React library.
|
|
8
8
|
|
|
@@ -14,22 +14,22 @@ Video.React will remain open source, but with a higher rate of fixes and release
|
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
|
-
Install `video-react-new` and **peer dependencies** via NPM
|
|
17
|
+
Install `video-react-new-new` and **peer dependencies** via NPM
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
npm install --save video-react-new react react-dom
|
|
20
|
+
npm install --save video-react-new-new react react-dom
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
import css in your app or add video-react styles in your page
|
|
23
|
+
import css in your app or add video-react-new styles in your page
|
|
24
24
|
|
|
25
25
|
```jsx
|
|
26
|
-
import '~video-react/dist/video-react-new.css'; // import css
|
|
26
|
+
import '~video-react-new/dist/video-react-new-new.css'; // import css
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
or
|
|
30
30
|
|
|
31
31
|
```scss
|
|
32
|
-
@import '~video-react/styles/scss/video-react-new.scss'; // or import scss
|
|
32
|
+
@import '~video-react-new/styles/scss/video-react-new-new.scss'; // or import scss
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
or
|
|
@@ -37,7 +37,7 @@ or
|
|
|
37
37
|
```html
|
|
38
38
|
<link
|
|
39
39
|
rel="stylesheet"
|
|
40
|
-
href="https://video-react.github.io/assets/video-react-new.css"
|
|
40
|
+
href="https://video-react-new.github.io/assets/video-react-new-new.css"
|
|
41
41
|
/>
|
|
42
42
|
```
|
|
43
43
|
|
|
@@ -45,7 +45,7 @@ Import the components you need, example:
|
|
|
45
45
|
|
|
46
46
|
```js
|
|
47
47
|
import React from 'react';
|
|
48
|
-
import { Player } from 'video-react-new';
|
|
48
|
+
import { Player } from 'video-react-new-new';
|
|
49
49
|
|
|
50
50
|
export default props => {
|
|
51
51
|
return (
|
|
@@ -66,7 +66,7 @@ export default props => {
|
|
|
66
66
|
| IE 11 | untested | - | - | - | - |
|
|
67
67
|
| Safari | - | **Y** | - | - | **Y** |
|
|
68
68
|
|
|
69
|
-
Please note that only the latest stable version is tested and supported.
|
|
69
|
+
Please note that only the latest stable version is tested and supported. video-react-new may be usable in older releases, and we will accept pull requests for them, but they will not be frequently tested or actively supported.
|
|
70
70
|
|
|
71
71
|
For the items marked as "untested", we do welcome volunteer testers.
|
|
72
72
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "video-react-new",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.18.0",
|
|
4
|
+
"description": "video-react-new is a web video player built from the ground up for an HTML5 world using React library.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"style": "dist/video-react-new.css",
|
|
7
7
|
"scripts": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "git+https://github.com/video-react/video-react.git"
|
|
37
|
+
"url": "git+https://github.com/video-react-new/video-react-new.git"
|
|
38
38
|
},
|
|
39
39
|
"files": [
|
|
40
40
|
"LICENSE",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"keywords": [
|
|
49
49
|
"react",
|
|
50
50
|
"video",
|
|
51
|
-
"video-react-new",
|
|
51
|
+
"video-react-new-new",
|
|
52
52
|
"react-video",
|
|
53
53
|
"player",
|
|
54
54
|
"component",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
],
|
|
72
72
|
"license": "MIT",
|
|
73
73
|
"bugs": {
|
|
74
|
-
"url": "https://github.com/thind9xdev/video-react-new/issues"
|
|
74
|
+
"url": "https://github.com/thind9xdev/video-react-new-new/issues"
|
|
75
75
|
},
|
|
76
|
-
"homepage": "https://github.com/thind9xdev/video-react-new#readme",
|
|
76
|
+
"homepage": "https://github.com/thind9xdev/video-react-new-new#readme",
|
|
77
77
|
"tonicExampleFilename": "tonic-example.js",
|
|
78
78
|
"dependencies": {
|
|
79
79
|
"@babel/runtime": "^7.4.5",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<svg xmlns="http://www.w3.org/2000/svg">
|
|
4
4
|
<metadata>Generated by IcoMoon</metadata>
|
|
5
5
|
<defs>
|
|
6
|
-
<font id="video-react" horiz-adv-x="1024">
|
|
6
|
+
<font id="video-react-new" horiz-adv-x="1024">
|
|
7
7
|
<font-face units-per-em="1024" ascent="1024" descent="0" />
|
|
8
8
|
<missing-glyph horiz-adv-x="1024" />
|
|
9
9
|
<glyph unicode=" " horiz-adv-x="0" d="" />
|
package/styles/icons.json
CHANGED
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
}
|
|
201
201
|
],
|
|
202
202
|
"metadata": {
|
|
203
|
-
"name": "video-react",
|
|
203
|
+
"name": "video-react-new",
|
|
204
204
|
"iconsHash": 1729396324
|
|
205
205
|
},
|
|
206
206
|
"height": 1024,
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
"fontPref": {
|
|
548
548
|
"prefix": "icon-",
|
|
549
549
|
"metadata": {
|
|
550
|
-
"fontFamily": "video-react",
|
|
550
|
+
"fontFamily": "video-react-new",
|
|
551
551
|
"majorVersion": 1,
|
|
552
552
|
"minorVersion": 0
|
|
553
553
|
},
|
|
@@ -569,12 +569,12 @@
|
|
|
569
569
|
"cssVarsFormat": "less"
|
|
570
570
|
},
|
|
571
571
|
"imagePref": {
|
|
572
|
-
"prefix": "video-react-icon-",
|
|
572
|
+
"prefix": "video-react-new-icon-",
|
|
573
573
|
"png": true,
|
|
574
574
|
"useClassSelector": true,
|
|
575
575
|
"color": 0,
|
|
576
576
|
"bgColor": 16777215,
|
|
577
|
-
"classSelector": ".video-react-icon"
|
|
577
|
+
"classSelector": ".video-react-new-icon"
|
|
578
578
|
},
|
|
579
579
|
"historySize": 100,
|
|
580
580
|
"showCodes": true,
|