@micromag/screen-video 0.3.200 → 0.3.204

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
@@ -128,7 +128,7 @@ var VideoScreen = function VideoScreen(_ref) {
128
128
  var videoPlaying = current && (isView || isEdit) && playing; // const shouldDisplayPoster =
129
129
  // isPreview || isCapture || (isView && active && !current && !hasPlayed);
130
130
 
131
- var shouldDisplayPoster = isPreview || isCapture || isView && active && !current && !hasPlayed;
131
+ var shouldDisplayPoster = isPreview || isCapture;
132
132
  useEffect(function () {
133
133
  if (!current) {
134
134
  return function () {};
package/lib/index.js CHANGED
@@ -148,7 +148,7 @@ var VideoScreen = function VideoScreen(_ref) {
148
148
  var videoPlaying = current && (isView || isEdit) && playing; // const shouldDisplayPoster =
149
149
  // isPreview || isCapture || (isView && active && !current && !hasPlayed);
150
150
 
151
- var shouldDisplayPoster = isPreview || isCapture || isView && active && !current && !hasPlayed;
151
+ var shouldDisplayPoster = isPreview || isCapture;
152
152
  React.useEffect(function () {
153
153
  if (!current) {
154
154
  return function () {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video",
3
- "version": "0.3.200",
3
+ "version": "0.3.204",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -50,15 +50,15 @@
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
52
  "@folklore/size": "^0.1.20",
53
- "@micromag/core": "^0.3.196",
54
- "@micromag/element-background": "^0.3.200",
55
- "@micromag/element-call-to-action": "^0.3.196",
56
- "@micromag/element-closed-captions": "^0.3.196",
57
- "@micromag/element-container": "^0.3.196",
58
- "@micromag/element-image": "^0.3.196",
59
- "@micromag/element-media-controls": "^0.3.196",
60
- "@micromag/element-video": "^0.3.200",
61
- "@micromag/transforms": "^0.3.196",
53
+ "@micromag/core": "^0.3.204",
54
+ "@micromag/element-background": "^0.3.204",
55
+ "@micromag/element-call-to-action": "^0.3.204",
56
+ "@micromag/element-closed-captions": "^0.3.204",
57
+ "@micromag/element-container": "^0.3.204",
58
+ "@micromag/element-image": "^0.3.204",
59
+ "@micromag/element-media-controls": "^0.3.204",
60
+ "@micromag/element-video": "^0.3.204",
61
+ "@micromag/transforms": "^0.3.204",
62
62
  "classnames": "^2.2.6",
63
63
  "lodash": "^4.17.21",
64
64
  "prop-types": "^15.7.2",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "10397ff0400180be0d48d3368fda5c268b71df45"
71
+ "gitHead": "3760b85f2b98c900c8ab9470c5d303074985cb4f"
72
72
  }