π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
LP resume
Manav Rathi0e3708ffdc06
diff --git a/web/packages/gallery/components/viewer/data-source.ts b/web/packages/gallery/components/viewer/data-source.tsindex d814ee65bf..c2f96cb03c 100644--- a/web/packages/gallery/components/viewer/data-source.ts+++ b/web/packages/gallery/components/viewer/data-source.ts@@ -138,8 +138,6 @@ export class FileViewerDataSource {case FileType.video: {const sourceURLs =await downloadManager.renderableSourceURLs(file);- // const disableDownload = !!this.opts.disableDownload;- // update({ html: videoHTML(sourceURLs.url, disableDownload) });// TODO(PS):update({ videoURL: sourceURLs.url as string });break;diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.tsindex cb85d2be91..90d3bf4cd2 100644--- a/web/packages/gallery/components/viewer/photoswipe.ts+++ b/web/packages/gallery/components/viewer/photoswipe.ts@@ -249,6 +249,15 @@ export class FileViewerPhotoSwipe {video?.pause();});+ pswp.on("contentActivate", (e) => {+ // Undo the effect of a previous "contentDeactivate".+ if (e.content?.slide.data?.livePhotoVideoURL) {+ e.content?.slide?.container+ ?.getElementsByTagName("video")[0]+ ?.play();+ }+ });+// The user did some action within the file viewer to close it.pswp.on("close", () => {// Clear intervals.