π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add another case
Manav Rathib261f7286402
diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.tsindex 005349241c..50651a3714 100644--- a/web/packages/gallery/components/viewer/photoswipe.ts+++ b/web/packages/gallery/components/viewer/photoswipe.ts@@ -378,18 +378,20 @@ export class FileViewerPhotoSwipe {/*** A wrapper over video.play that prevents Chrome from spamming the* console with errors about interrupted plays when scrolling through- * files fast by keeping arrow keys pressed.+ * files fast by keeping arrow keys pressed, or when the slide is reloaded.*/const abortablePlayVideo = async (videoElement: HTMLVideoElement) => {try {await videoElement.play();} catch (e) {+ // Known message strings prefixes.+ // - "The play() request was interrupted by a call to pause()."+ // - "The play() request was interrupted because the media was removed from the document."+if (e instanceof Error &&e.name == "AbortError" &&- e.message.startsWith(- "The play() request was interrupted by a call to pause().",- )+ e.message.startsWith("The play() request was interrupted")) {// Ignore.} else {