@ndla/ui 54.0.1 → 54.0.2

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.
@@ -79,6 +79,7 @@ const IframeEmbed = _ref => {
79
79
  // eslint-disable-next-line react/no-unknown-property
80
80
  ,
81
81
  allowFullScreen: true,
82
+ allow: "encrypted-media",
82
83
  scrolling: "no",
83
84
  frameBorder: "0",
84
85
  loading: "lazy"
@@ -86,6 +86,7 @@ const IframeEmbed = _ref => {
86
86
  // eslint-disable-next-line react/no-unknown-property
87
87
  ,
88
88
  allowFullScreen: true,
89
+ allow: "encrypted-media",
89
90
  scrolling: "no",
90
91
  frameBorder: "0",
91
92
  loading: "lazy"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndla/ui",
3
- "version": "54.0.1",
3
+ "version": "54.0.2",
4
4
  "description": "UI component library for NDLA.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "lib/index.js",
@@ -77,5 +77,5 @@
77
77
  "publishConfig": {
78
78
  "access": "public"
79
79
  },
80
- "gitHead": "06462ea8a1e84faedef361152994b7d48d4cd6e3"
80
+ "gitHead": "84069e3b3a58e43981a00f31520ff0e9919beb3f"
81
81
  }
@@ -72,6 +72,7 @@ const IframeEmbed = ({ embed, isConcept }: Props) => {
72
72
  height={strippedHeight}
73
73
  // eslint-disable-next-line react/no-unknown-property
74
74
  allowFullScreen
75
+ allow="encrypted-media"
75
76
  scrolling="no"
76
77
  frameBorder="0"
77
78
  loading="lazy"