add Dockerfile and docker-compose for multi-stage build; update .gitignore and various HTML examples

This commit is contained in:
Elmar Kresse
2025-12-28 15:50:59 +01:00
parent 49a1ef45da
commit 0d376597d6
10 changed files with 189 additions and 23 deletions

View File

@@ -50,7 +50,8 @@
// Check if HLS.js is supported
if (Hls.isSupported()) {
const hls = new Hls();
const proxyUrl = 'http://127.0.0.1:8090/cors?url=https://brevent.akamaized.net/hls/live/2028222/event_05/master1080p5000.m3u8';
const localwindowurl = window.location.origin;
const proxyUrl = localwindowurl + '/cors?url=https://brevent.akamaized.net/hls/live/2028222/event_05/master1080p5000.m3u8';
hls.loadSource(proxyUrl);
hls.attachMedia(videoPlayer);
} else {