π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
3
Manav Rathi730746781cc6
diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.tsindex 8fcc0cc5cf..bdb49348ff 100644--- a/web/packages/gallery/components/viewer/photoswipe.ts+++ b/web/packages/gallery/components/viewer/photoswipe.ts@@ -412,6 +412,15 @@ export class FileViewerPhotoSwipe {* maintained in the {@link livePhotoPlay} variable.*/const livePhotoUpdatePlayInitial = (video: HTMLVideoElement) => {+ // If we're already doing the initial playback for the same video+ // element, then do nothing.+ //+ // This check is to ignore dup inits (this function is called from+ // two places, it can be called twice for the first slide).+ if (livePhotoPlayInitialEndedEvent?.video == video) {+ return;+ }+const button = livePhotoPlayButtonElement;if (button) showIf(button, true);