From 65654dc4a43dde22f1e830a8bcd05314f4ae83c7 Mon Sep 17 00:00:00 2001 From: Jo Van Bulck Date: Sun, 17 Nov 2024 03:39:22 -0800 Subject: [PATCH] fix: autoplay successive live photos Signed-off-by: Jo Van Bulck --- src/components/viewer/PsLivePhoto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/viewer/PsLivePhoto.ts b/src/components/viewer/PsLivePhoto.ts index 8e42e8e8f..2e0cfb831 100644 --- a/src/components/viewer/PsLivePhoto.ts +++ b/src/components/viewer/PsLivePhoto.ts @@ -32,7 +32,7 @@ class LivePhotoContentSetup { const video = content.element?.querySelector('video'); if (!video) return; - if (this.liveState.playing) { + if (!video.paused) { video.pause(); return; }