π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
vid tweaks
Manav Rathic5f993571e4b
diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.tsindex b51b67a6c2..09ec549ce7 100644--- a/web/packages/gallery/components/viewer/photoswipe.ts+++ b/web/packages/gallery/components/viewer/photoswipe.ts@@ -1244,7 +1244,13 @@ export class FileViewerPhotoSwipe {const handleSeekBackOrPreviousSlide = () => {const video = videoVideoEl;- if (video && !isUserLikelyNavigatingBetweenSlides()) {+ if (+ video &&+ !isUserLikelyNavigatingBetweenSlides() &&+ // If the video is at the beginning, then use the left arrow to+ // move to the preview slide.+ video.currentTime > 0+ ) {video.currentTime = Math.max(video.currentTime - 5, 0);} else {handlePreviousSlide();@@ -1253,7 +1259,13 @@ export class FileViewerPhotoSwipe {const handleSeekForwardOrNextSlide = () => {const video = videoVideoEl;- if (video && !isUserLikelyNavigatingBetweenSlides()) {+ if (+ video &&+ !isUserLikelyNavigatingBetweenSlides() &&+ // If the video has ended, then use right arrow to move to the+ // next slide.+ !video.ended+ ) {video.currentTime = video.currentTime + 5;} else {handleNextSlide();