π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Pause
Manav Rathib9bb7c074d44
diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.tsindex aea0ee6834..a5eff4060a 100644--- a/web/packages/gallery/components/viewer/photoswipe.ts+++ b/web/packages/gallery/components/viewer/photoswipe.ts@@ -558,8 +558,9 @@ export class FileViewerPhotoSwipe {// Pause the video element, if any, when we move away from the// slide.- const video =- e.content.slide?.container.getElementsByTagName("video")[0];+ const video = e.content.slide?.container.querySelector(+ "video, hls-video",+ ) as HTMLVideoElement | null;video?.pause();});