Skip to content

Commit

Permalink
fix: autoplay successive live photos
Browse files Browse the repository at this point in the history
Signed-off-by: Jo Van Bulck <jo.vanbulck@cs.kuleuven.be>
  • Loading branch information
jovanbulck committed Nov 17, 2024
1 parent b5326c4 commit 65654dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/viewer/PsLivePhoto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 65654dc

Please sign in to comment.