Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Put behind ff

Manav Rathia173ca5cd824
diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.ts
index 9f2d2a1fb0..e68cca3e96 100644
--- a/web/packages/gallery/components/viewer/photoswipe.ts
+++ b/web/packages/gallery/components/viewer/photoswipe.ts
@@ -710,6 +710,9 @@ export class FileViewerPhotoSwipe {
video.muted = !video.muted;
+ // TODO(HLS): Temporary gate
+ if (!process.env.NEXT_PUBLIC_ENTE_WIP_VIDEO_STREAMING) return;
+
// Go via the media chrome mute button when muting, because
// otherwise the local storage that the media chrome internally
// manages ('media-chrome-pref-muted' which can be 'true' or