v0.1.10
build / test (push) Waiting to run

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-16 22:48:34 +01:00
1 parent 052a27bc48
commit 528017b0e6
36 files changed
+3394 -216

No files matched your search

+4 -3
View File
@@ -39,7 +39,7 @@
}
/**
* Best profile for this browser: pass → aac → h264. Without ffmpeg on the server only
* Best profile for this browser: pass, then aac, then h264. Without ffmpeg on the server only
* "pass" is possible, so it is always tried first.
*/
function pickProfile(video, audio, transcode) {
@@ -101,7 +101,8 @@
overlay.appendChild(el('div', null, msg));
if (hint) overlay.appendChild(el('div', 'hint', hint));
if (err && opts.vlcUrl) {
var a = el('a', 'btn small', '▶ Open in VLC');
var a = el('a', 'btn small', 'Open in VLC');
if (window.SDVB_ICON) a.innerHTML = window.SDVB_ICON('vlc') + a.innerHTML;
a.href = opts.vlcUrl;
a.setAttribute('download', '');
overlay.appendChild(a);
@@ -157,7 +158,7 @@
});
hls.on(window.Hls.Events.MANIFEST_PARSED, function () {
var p = video.play();
if (p && p.catch) p.catch(function () { status('Click ▶ to play', true); });
if (p && p.catch) p.catch(function () { status('Click Play to start', true); });
});
hls.on(window.Hls.Events.FRAG_BUFFERED, function () { status(null); retries = 0; });
hls.on(window.Hls.Events.ERROR, function (_e, data) {