Skip to content

Commit

Permalink
Merge pull request #1350 from jovanbulck/master
Browse files Browse the repository at this point in the history
fix: autoplay successive live photos
  • Loading branch information
pulsejet authored Nov 20, 2024
2 parents ad54a42 + 65654dc commit d9701c9
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 d9701c9

Please sign in to comment.