foundry-component-library 0.2.40 → 0.2.41

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.
@@ -34,8 +34,18 @@ const Video = ({ url }: { url: string }) => {
34
34
  loop
35
35
  muted
36
36
  playsinline
37
+ config={{
38
+ file: {
39
+ attributes: {
40
+ playsInline: true,
41
+ webkitPlaysInline: true,
42
+ muted: true,
43
+ },
44
+ },
45
+ }}
37
46
  />
38
47
  )}
48
+ asd
39
49
  </div>
40
50
  );
41
51
  };
@@ -50,12 +50,18 @@ function VideoTeaser({ url }: { url: string }) {
50
50
  muted={isMuted}
51
51
  loop={true}
52
52
  config={{
53
- file: { attributes: { poster: "/video-poster.jpg" } },
53
+ file: {
54
+ attributes: {
55
+ playsInline: true,
56
+ webkitPlaysInline: true,
57
+ muted: true,
58
+ poster: "/video-poster.jpg",
59
+ },
60
+ },
54
61
  }}
55
62
  />
56
63
  )}
57
64
  </div>
58
- <div className={styles.overlayMobile} />
59
65
  </div>
60
66
  </>
61
67
  );
@@ -133,17 +133,3 @@
133
133
  transform: translate(34.5%, 39.5%);
134
134
  }
135
135
  }
136
-
137
- .overlayMobile {
138
- position: absolute;
139
- top: 0;
140
- left: 0;
141
- width: 100%;
142
- height: 100%;
143
- z-index: 2;
144
- display: none;
145
-
146
- @media #{$QUERY-sm} {
147
- display: block;
148
- }
149
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foundry-component-library",
3
- "version": "0.2.40",
3
+ "version": "0.2.41",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",