@micromag/element-video 0.3.141 → 0.3.144

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
@@ -30,6 +30,7 @@ var propTypes = {
30
30
  className: PropTypes$1.string,
31
31
  onReady: PropTypes$1.func,
32
32
  onPlay: PropTypes$1.func,
33
+ onCanPlay: PropTypes$1.func,
33
34
  onPause: PropTypes$1.func,
34
35
  onEnded: PropTypes$1.func,
35
36
  onSeeked: PropTypes$1.func,
@@ -59,6 +60,7 @@ var defaultProps = {
59
60
  className: null,
60
61
  onReady: null,
61
62
  onPlay: null,
63
+ onCanPlay: null,
62
64
  onPause: null,
63
65
  onEnded: null,
64
66
  onSeeked: null,
@@ -90,6 +92,7 @@ var Video = function Video(_ref) {
90
92
  className = _ref.className,
91
93
  onReady = _ref.onReady,
92
94
  onPlay = _ref.onPlay,
95
+ onCanPlay = _ref.onCanPlay,
93
96
  onPause = _ref.onPause,
94
97
  onEnded = _ref.onEnded,
95
98
  onSeeked = _ref.onSeeked,
@@ -173,6 +176,7 @@ var Video = function Video(_ref) {
173
176
  url: !isImageWithoutSourceFile ? mediaUrl : null,
174
177
  initialMuted: finalInitialMuted,
175
178
  onPlay: onPlay,
179
+ onCanPlay: onCanPlay,
176
180
  onPause: onPause,
177
181
  onEnded: onEnded,
178
182
  onSeeked: onSeeked,
package/lib/index.js CHANGED
@@ -41,6 +41,7 @@ var propTypes = {
41
41
  className: PropTypes__default["default"].string,
42
42
  onReady: PropTypes__default["default"].func,
43
43
  onPlay: PropTypes__default["default"].func,
44
+ onCanPlay: PropTypes__default["default"].func,
44
45
  onPause: PropTypes__default["default"].func,
45
46
  onEnded: PropTypes__default["default"].func,
46
47
  onSeeked: PropTypes__default["default"].func,
@@ -70,6 +71,7 @@ var defaultProps = {
70
71
  className: null,
71
72
  onReady: null,
72
73
  onPlay: null,
74
+ onCanPlay: null,
73
75
  onPause: null,
74
76
  onEnded: null,
75
77
  onSeeked: null,
@@ -101,6 +103,7 @@ var Video = function Video(_ref) {
101
103
  className = _ref.className,
102
104
  onReady = _ref.onReady,
103
105
  onPlay = _ref.onPlay,
106
+ onCanPlay = _ref.onCanPlay,
104
107
  onPause = _ref.onPause,
105
108
  onEnded = _ref.onEnded,
106
109
  onSeeked = _ref.onSeeked,
@@ -184,6 +187,7 @@ var Video = function Video(_ref) {
184
187
  url: !isImageWithoutSourceFile ? mediaUrl : null,
185
188
  initialMuted: finalInitialMuted,
186
189
  onPlay: onPlay,
190
+ onCanPlay: onCanPlay,
187
191
  onPause: onPause,
188
192
  onEnded: onEnded,
189
193
  onSeeked: onSeeked,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-video",
3
- "version": "0.3.141",
3
+ "version": "0.3.144",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,9 +52,9 @@
52
52
  "@fortawesome/fontawesome-svg-core": "^1.2.32",
53
53
  "@fortawesome/free-solid-svg-icons": "^5.15.1",
54
54
  "@fortawesome/react-fontawesome": "^0.1.13",
55
- "@micromag/core": "^0.3.141",
56
- "@micromag/element-closed-captions": "^0.3.141",
57
- "@micromag/element-media-controls": "^0.3.141",
55
+ "@micromag/core": "^0.3.144",
56
+ "@micromag/element-closed-captions": "^0.3.144",
57
+ "@micromag/element-media-controls": "^0.3.144",
58
58
  "classnames": "^2.2.6",
59
59
  "prop-types": "^15.7.2",
60
60
  "react-intl": "^5.12.1",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "ce3010e26225f1d4129b3d702e4344a9b5b7c440"
66
+ "gitHead": "d0f88b972312c6f728601a828b7ab98fd396dfee"
67
67
  }