From 892fc105c0def0778a92d19c10a98e6b688107d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Mon, 29 Aug 2022 19:38:31 +0200 Subject: [PATCH] Play About Step video only when visible --- src/components/molecules/ProcessStep.svelte | 2 +- src/routes/about/+page.svelte | 39 ++++++++++++++++----- 2 files changed, 32 insertions(+), 9 deletions(-) diff --git a/src/components/molecules/ProcessStep.svelte b/src/components/molecules/ProcessStep.svelte index 5186a7c..c18a362 100644 --- a/src/components/molecules/ProcessStep.svelte +++ b/src/components/molecules/ProcessStep.svelte @@ -34,7 +34,7 @@ alt={image.title} /> {:else if video} -