Skip to content

armgit / ente

Public Imported from GitHub
0

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

LF

Manav Rathifa32ab55c692
diff --git a/web/packages/gallery/services/video.ts b/web/packages/gallery/services/video.ts
index 565eda33b8..95dce3fd09 100644
--- a/web/packages/gallery/services/video.ts
+++ b/web/packages/gallery/services/video.ts
@@ -28,11 +28,11 @@ export const hlsPlaylistForFile = async (file: EnteFile) => {
const videoURL = await fetchFilePreviewData("vid_preview", file.id);
if (!videoURL) return undefined;
- // See: [Note: strict mode migration]
- //
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore
const { playlist: playlistTemplate } = await decryptPlaylistJSON(
+ // See: [Note: strict mode migration]
+ //
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore
playlistFileData,
file,
);
@@ -92,7 +92,7 @@ export const hlsPlaylistForFile = async (file: EnteFile) => {
const playlist = playlistTemplate.replaceAll("output.ts", videoURL);
log.debug(() => ["hlsPlaylistForFile", playlist]);
- const playlistBlob = new Blob([playlist])
+ const playlistBlob = new Blob([playlist]);
const playlistURL = URL.createObjectURL(playlistBlob);
return playlistURL;