From a48e93d4a24d072326b645d2e10a8a2e700be425 Mon Sep 17 00:00:00 2001 From: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com> Date: Thu, 28 Nov 2024 14:33:59 +0100 Subject: [PATCH] Improve changeset --- .changeset/sharp-monkeys-cry.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.changeset/sharp-monkeys-cry.md b/.changeset/sharp-monkeys-cry.md index f6941baa3f3..e763dc42cff 100644 --- a/.changeset/sharp-monkeys-cry.md +++ b/.changeset/sharp-monkeys-cry.md @@ -2,6 +2,7 @@ "@comet/cms-site": minor --- -Play videos on auto play only when visible +Play/pause autoplay videos depending on their visibility -Start videos depending on their visibility in `DamVideoBlock`, `YoutubeVideoBlock` and `VimeoVideoBlock`. Videos that are not in the viewport of the user, pause. +Start videos in `DamVideoBlock`, `YoutubeVideoBlock` and `VimeoVideoBlock` when the block is in or enters the viewport. +Pause them when the block is leaving the viewport.