Skip to content

armgit / ente

Public Imported from GitHub
0

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

+hls.js

Manav Rathifcd6a621e027
diff --git a/web/docs/dependencies.md b/web/docs/dependencies.md
index 89007cc56a..5ee9472ebb 100644
--- a/web/docs/dependencies.md
+++ b/web/docs/dependencies.md
@@ -226,6 +226,9 @@ via [@fontsource-variable/inter](https://fontsource.org/fonts/inter/install).
- [PhotoSwipe](https://photoswipe.com) provides the base image viewer on top of
which we've built our file viewer.
+- [hls.js](https://github.com/video-dev/hls.js/) is used for HLS playback (we
+ provide a HLS playlist to the browser for streaming videos).
+
- [react-dropzone](https://github.com/react-dropzone/react-dropzone/) is a React
hook to create a drag-and-drop input zone. Note that we pin to the last
version in the 14.2 series, since if we use 14.3 onwards (I tested till
diff --git a/web/packages/gallery/package.json b/web/packages/gallery/package.json
index 658faec101..7e88dc32e3 100644
--- a/web/packages/gallery/package.json
+++ b/web/packages/gallery/package.json
@@ -8,6 +8,7 @@
"@ffmpeg/ffmpeg": "^0.12.10",
"bs58": "^6.0.0",
"exifreader": "^4.26.2",
+ "hls.js": "^1.5.20",
"leaflet": "^1.9.4",
"leaflet-defaulticon-compatibility": "^0.1.2",
"photoswipe": "^5.4.4",
diff --git a/web/yarn.lock b/web/yarn.lock
index 6d692a320d..0deb47ec29 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -2369,6 +2369,11 @@ heic-decode@^2.0.0:
dependencies:
libheif-js "^1.17.1"
+hls.js@^1.5.20:
+ version "1.5.20"
+ resolved "https://registry.yarnpkg.com/hls.js/-/hls.js-1.5.20.tgz#7eb23bb5e2595311d4e2761038ca6882673de7e2"
+ integrity sha512-uu0VXUK52JhihhnN/MVVo1lvqNNuhoxkonqgO3IpjvQiGpJBdIXMGkofjQb/j9zvV7a1SW8U9g1FslWx/1HOiQ==
+
hoist-non-react-statics@^3.3.0, hoist-non-react-statics@^3.3.1:
version "3.3.2"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"