Skip to content

armgit / ente

Public Imported from GitHub
0

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

also for hls

Manav Rathid1af77dbef83
diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.ts
index 043ac21462..57f12344c2 100644
--- a/web/packages/gallery/components/viewer/photoswipe.ts
+++ b/web/packages/gallery/components/viewer/photoswipe.ts
@@ -1142,7 +1142,7 @@ const videoHTML = (url: string, disableDownload: boolean) => `
const hlsVideoHTML = (url: string, mediaControllerID: string) => `
<div class="media-controller-container">
<media-controller id="${mediaControllerID}">
- <hls-video slot="media" src="${url}"></hls-video>
+ <hls-video playsinline slot="media" src="${url}"></hls-video>
</media-controller>
</div>
`;