@micromag/screen-quiz 0.4.41 → 0.4.42

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 +2 -2
  2. package/package.json +16 -16
package/es/index.js CHANGED
@@ -1696,10 +1696,10 @@ function QuizMultipleScreen(_ref) {
1696
1696
  width: width,
1697
1697
  height: height,
1698
1698
  resolution: resolution,
1699
- playing: backgroundPlaying,
1699
+ playing: item.key === bgItem.key && backgroundPlaying,
1700
1700
  muted: muted,
1701
1701
  shouldLoad: backgroundShouldLoad,
1702
- mediaRef: mediaRef,
1702
+ mediaRef: item.key === bgItem.key ? mediaRef : null,
1703
1703
  className: styles$2.background,
1704
1704
  withoutVideo: isPreview
1705
1705
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-quiz",
3
- "version": "0.4.41",
3
+ "version": "0.4.42",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -64,20 +64,20 @@
64
64
  "@fortawesome/fontawesome-svg-core": "^7.2.0",
65
65
  "@fortawesome/free-solid-svg-icons": "^7.2.0",
66
66
  "@fortawesome/react-fontawesome": "^3.2.0",
67
- "@micromag/core": "^0.4.41",
68
- "@micromag/data": "^0.4.41",
69
- "@micromag/element-background": "^0.4.41",
70
- "@micromag/element-button": "^0.4.41",
71
- "@micromag/element-container": "^0.4.41",
72
- "@micromag/element-footer": "^0.4.41",
73
- "@micromag/element-header": "^0.4.41",
74
- "@micromag/element-heading": "^0.4.41",
75
- "@micromag/element-keypad": "^0.4.41",
76
- "@micromag/element-layout": "^0.4.41",
77
- "@micromag/element-scroll": "^0.4.41",
78
- "@micromag/element-text": "^0.4.41",
79
- "@micromag/element-visual": "^0.4.41",
80
- "@micromag/transforms": "^0.4.41",
67
+ "@micromag/core": "^0.4.42",
68
+ "@micromag/data": "^0.4.42",
69
+ "@micromag/element-background": "^0.4.42",
70
+ "@micromag/element-button": "^0.4.42",
71
+ "@micromag/element-container": "^0.4.42",
72
+ "@micromag/element-footer": "^0.4.42",
73
+ "@micromag/element-header": "^0.4.42",
74
+ "@micromag/element-heading": "^0.4.42",
75
+ "@micromag/element-keypad": "^0.4.42",
76
+ "@micromag/element-layout": "^0.4.42",
77
+ "@micromag/element-scroll": "^0.4.42",
78
+ "@micromag/element-text": "^0.4.42",
79
+ "@micromag/element-visual": "^0.4.42",
80
+ "@micromag/transforms": "^0.4.42",
81
81
  "@react-spring/core": "^10.0.3",
82
82
  "@react-spring/web": "^10.0.3",
83
83
  "classnames": "^2.2.6",
@@ -89,6 +89,6 @@
89
89
  "access": "public",
90
90
  "registry": "https://registry.npmjs.org/"
91
91
  },
92
- "gitHead": "c7856a747ba0a4466f4b63bc29e31003275ac6e0",
92
+ "gitHead": "6fd96aeb9ef1857c731917d8b7cde23d31b39574",
93
93
  "types": "es/index.d.ts"
94
94
  }