Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

feat: add video poster

AykutSaraca3b0dad057fa
diff --git a/src/containers/Landing/HeroPreview.tsx b/src/containers/Landing/HeroPreview.tsx
index 0643aab6..3f6449a4 100644
--- a/src/containers/Landing/HeroPreview.tsx
+++ b/src/containers/Landing/HeroPreview.tsx
@@ -89,10 +89,9 @@ export const HeroPreview = () => {
muted
loop
preload="auto"
- style={{
- display: "block",
- }}
+ poster={`./assets/preview/${selectedFeature}.webp`}
key={selectedFeature}
+ style={{ display: "block" }}
>
<source src={`./assets/videos/p${selectedFeature}.mp4`} type="video/mp4" />
</video>