@micromag/element-video 0.3.135 → 0.3.136

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/es/index.js CHANGED
@@ -37,6 +37,7 @@ var propTypes = {
37
37
  onProgressStep: PropTypes$1.func,
38
38
  onDurationChanged: PropTypes$1.func,
39
39
  onVolumeChanged: PropTypes$1.func,
40
+ onSuspended: PropTypes$1.func,
40
41
  focusable: PropTypes$1.bool,
41
42
  supportedMimes: PropTypes$1.arrayOf(PropTypes$1.string),
42
43
  withPoster: PropTypes$1.bool // onPosterLoaded: PropTypes.func,
@@ -65,6 +66,7 @@ var defaultProps = {
65
66
  onProgressStep: null,
66
67
  onDurationChanged: null,
67
68
  onVolumeChanged: null,
69
+ onSuspended: null,
68
70
  focusable: true,
69
71
  supportedMimes: ['video/mp4', 'video/webm', 'video/ogg'],
70
72
  withPoster: false // onPosterLoaded: null,
@@ -96,6 +98,7 @@ var Video = function Video(_ref) {
96
98
  onProgressStep = _ref.onProgressStep,
97
99
  onDurationChanged = _ref.onDurationChanged,
98
100
  onVolumeChanged = _ref.onVolumeChanged,
101
+ onSuspended = _ref.onSuspended,
99
102
  focusable = _ref.focusable,
100
103
  supportedMimes = _ref.supportedMimes,
101
104
  withPoster = _ref.withPoster;
@@ -177,7 +180,8 @@ var Video = function Video(_ref) {
177
180
  onTimeUpdate: onTimeUpdate,
178
181
  onProgressStep: onProgressStep,
179
182
  onDurationChanged: onDurationChanged,
180
- onVolumeChanged: onVolumeChanged
183
+ onVolumeChanged: onVolumeChanged,
184
+ onSuspended: onSuspended
181
185
  }),
182
186
  ref = _useMediaApi.ref,
183
187
  api = _objectWithoutProperties(_useMediaApi, _excluded);
package/lib/index.js CHANGED
@@ -48,6 +48,7 @@ var propTypes = {
48
48
  onProgressStep: PropTypes__default["default"].func,
49
49
  onDurationChanged: PropTypes__default["default"].func,
50
50
  onVolumeChanged: PropTypes__default["default"].func,
51
+ onSuspended: PropTypes__default["default"].func,
51
52
  focusable: PropTypes__default["default"].bool,
52
53
  supportedMimes: PropTypes__default["default"].arrayOf(PropTypes__default["default"].string),
53
54
  withPoster: PropTypes__default["default"].bool // onPosterLoaded: PropTypes.func,
@@ -76,6 +77,7 @@ var defaultProps = {
76
77
  onProgressStep: null,
77
78
  onDurationChanged: null,
78
79
  onVolumeChanged: null,
80
+ onSuspended: null,
79
81
  focusable: true,
80
82
  supportedMimes: ['video/mp4', 'video/webm', 'video/ogg'],
81
83
  withPoster: false // onPosterLoaded: null,
@@ -107,6 +109,7 @@ var Video = function Video(_ref) {
107
109
  onProgressStep = _ref.onProgressStep,
108
110
  onDurationChanged = _ref.onDurationChanged,
109
111
  onVolumeChanged = _ref.onVolumeChanged,
112
+ onSuspended = _ref.onSuspended,
110
113
  focusable = _ref.focusable,
111
114
  supportedMimes = _ref.supportedMimes,
112
115
  withPoster = _ref.withPoster;
@@ -188,7 +191,8 @@ var Video = function Video(_ref) {
188
191
  onTimeUpdate: onTimeUpdate,
189
192
  onProgressStep: onProgressStep,
190
193
  onDurationChanged: onDurationChanged,
191
- onVolumeChanged: onVolumeChanged
194
+ onVolumeChanged: onVolumeChanged,
195
+ onSuspended: onSuspended
192
196
  }),
193
197
  ref = _useMediaApi.ref,
194
198
  api = _objectWithoutProperties__default["default"](_useMediaApi, _excluded);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-video",
3
- "version": "0.3.135",
3
+ "version": "0.3.136",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "b9bd185aacc16b6fb5540aa113dc7872c822e279"
66
+ "gitHead": "0163dd0b8c8146af1fbd14e92c6ccc111d4c2ee1"
67
67
  }