@micromag/element-audio 0.3.801 → 0.3.807

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.
Files changed (2) hide show
  1. package/es/index.js +1 -1
  2. package/package.json +4 -4
package/es/index.js CHANGED
@@ -380,7 +380,7 @@ var Audio = function Audio(_ref) {
380
380
  }
381
381
  },
382
382
  src: srcUrl,
383
- autoPlay: autoPlay,
383
+ autoPlay: autoPlay && !paused,
384
384
  muted: muted,
385
385
  loop: loop,
386
386
  crossOrigin: "anonymous",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-audio",
3
- "version": "0.3.801",
3
+ "version": "0.3.807",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -59,8 +59,8 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@babel/runtime": "^7.13.10",
62
- "@micromag/core": "^0.3.801",
63
- "@micromag/element-closed-captions": "^0.3.801",
62
+ "@micromag/core": "^0.3.807",
63
+ "@micromag/element-closed-captions": "^0.3.807",
64
64
  "@react-spring/core": "^9.6.1",
65
65
  "@react-spring/web": "^9.6.1",
66
66
  "@use-gesture/react": "^10.3.0",
@@ -74,5 +74,5 @@
74
74
  "access": "public",
75
75
  "registry": "https://registry.npmjs.org/"
76
76
  },
77
- "gitHead": "0ce6f19eff38a6fff58c0f156d3f53d741f5113e"
77
+ "gitHead": "5aee5186c7e3b3dc6fe0f11e848943f21c33a195"
78
78
  }