Add HLS.js support and enhance content streaming logic

- Integrated HLS.js version 1.6.15 into the project for improved video streaming capabilities.
- Updated the ContentsController to check for HLS manifest availability and fall back to presigned URLs for original files if not found.
- Enhanced the VideoPlayer component to handle loading and error states more effectively, improving user experience during streaming.
- Refactored content service methods to return detailed streaming information, including HLS and DASH manifest URLs.
This commit is contained in:
Dorian
2026-02-13 00:04:53 +00:00
parent 0da83f461c
commit 7e9a35a963
9 changed files with 706 additions and 262 deletions

View File

@@ -24,6 +24,7 @@
"applesauce-relay": "^5.1.0",
"applesauce-signers": "^5.1.0",
"axios": "^1.13.5",
"hls.js": "^1.6.15",
"nostr-tools": "^2.23.0",
"pinia": "^3.0.4",
"qrcode": "^1.5.4",