@micromag/screen-video 0.3.266 → 0.3.267

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
@@ -153,7 +153,7 @@ var VideoScreen = function VideoScreen(_ref) {
153
153
  }
154
154
  }, [mediaRef.current]);
155
155
  useEffect(function () {
156
- if (current && autoPlay && !playing) {
156
+ if (current && autoPlay) {
157
157
  setPlaying(true);
158
158
  }
159
159
  }, [current, autoPlay]);
package/lib/index.js CHANGED
@@ -173,7 +173,7 @@ var VideoScreen = function VideoScreen(_ref) {
173
173
  }
174
174
  }, [mediaRef.current]);
175
175
  React.useEffect(function () {
176
- if (current && autoPlay && !playing) {
176
+ if (current && autoPlay) {
177
177
  setPlaying(true);
178
178
  }
179
179
  }, [current, autoPlay]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video",
3
- "version": "0.3.266",
3
+ "version": "0.3.267",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "562d67e6a6146225391a02d951a98b1b5deeb06e"
71
+ "gitHead": "969ea12f1c679ac1e1ffc7b71801e9b752688d17"
72
72
  }