@micromag/screen-video 0.3.131 → 0.3.133
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 +3 -3
- package/lib/index.js +3 -3
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -357,8 +357,8 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
357
357
|
}))) : null), playOnFirstTap && !playing ? /*#__PURE__*/React.createElement("button", {
|
|
358
358
|
key: "first-tap-button",
|
|
359
359
|
type: "button",
|
|
360
|
-
|
|
361
|
-
className: classNames([styles.videoButton])
|
|
360
|
+
onTouchStart: onPlay,
|
|
361
|
+
className: classNames([styles.videoButton, styles.visible])
|
|
362
362
|
}) : null, !isPlaceholder ? /*#__PURE__*/React.createElement("div", {
|
|
363
363
|
key: "bottom-content",
|
|
364
364
|
className: styles.bottomContent
|
|
@@ -394,7 +394,7 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
394
394
|
height: controlsHeight
|
|
395
395
|
},
|
|
396
396
|
type: "button",
|
|
397
|
-
|
|
397
|
+
onTouchStart: onShowControls,
|
|
398
398
|
className: classNames([styles.videoButton, _defineProperty({}, styles.visible, !visibleControls)])
|
|
399
399
|
})) : null, hasCallToAction ? /*#__PURE__*/React.createElement("div", {
|
|
400
400
|
style: {
|
package/lib/index.js
CHANGED
|
@@ -378,8 +378,8 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
378
378
|
}))) : null), playOnFirstTap && !playing ? /*#__PURE__*/React__default["default"].createElement("button", {
|
|
379
379
|
key: "first-tap-button",
|
|
380
380
|
type: "button",
|
|
381
|
-
|
|
382
|
-
className: classNames__default["default"]([styles.videoButton])
|
|
381
|
+
onTouchStart: onPlay,
|
|
382
|
+
className: classNames__default["default"]([styles.videoButton, styles.visible])
|
|
383
383
|
}) : null, !isPlaceholder ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
384
384
|
key: "bottom-content",
|
|
385
385
|
className: styles.bottomContent
|
|
@@ -415,7 +415,7 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
415
415
|
height: controlsHeight
|
|
416
416
|
},
|
|
417
417
|
type: "button",
|
|
418
|
-
|
|
418
|
+
onTouchStart: onShowControls,
|
|
419
419
|
className: classNames__default["default"]([styles.videoButton, _defineProperty__default["default"]({}, styles.visible, !visibleControls)])
|
|
420
420
|
})) : null, hasCallToAction ? /*#__PURE__*/React__default["default"].createElement("div", {
|
|
421
421
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-video",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.133",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "c09ca637ad389fc48b2671eaab3cc747a09d7abd"
|
|
72
72
|
}
|