BlueGit

timfa filemanager

Edit app.js

timfa Tim Falken · pushed by timfa

Authored 2026-05-09 · 6 months ago

Hash
13e682e9c170e635b3ed7e5a1a08d0c85a07f84b
Parent
ee1b6cb2
1 file changed +4 −0
public/app.js +4 −0
@@ -70,6 +70,7 @@ const VIDEO_TEXT_TRACK_OVERRIDE_SETTINGS_RAW = JSON.stringify({
70 70 edgeStyle: 'uniform',
71 71 });
72 72 const VIDEO_FORWARD_BUFFER_SECONDS = 60 * 60;
73 const VIDEO_FORWARD_BUFFER_OVERRIDE_ENABLED = false;
73 74 let videoJsLoaderPromise = null;
74 75
75 76 // ───────────────────────────────────────────────────────────────────────────
@@ -2516,6 +2517,9 @@ async function ensureVideoJsLoaded ()
2516 2517
2517 2518 function configureVideoJsBuffering (videojs)
2518 2519 {
2520 if (! VIDEO_FORWARD_BUFFER_OVERRIDE_ENABLED)
2521 return;
2522
2519 2523 if (!videojs || !videojs.Vhs || videojs.__filemanagerBufferingConfigured) return;
2520 2524 videojs.__filemanagerBufferingConfigured = true;
2521 2525
@@ -70,6 +70,7 @@ const VIDEO_TEXT_TRACK_OVERRIDE_SETTINGS_RAW = JSON.stringify({
70 edgeStyle: 'uniform',
70 edgeStyle: 'uniform',
71});
71});
72const VIDEO_FORWARD_BUFFER_SECONDS = 60 * 60;
72const VIDEO_FORWARD_BUFFER_SECONDS = 60 * 60;
73const VIDEO_FORWARD_BUFFER_OVERRIDE_ENABLED = false;
73let videoJsLoaderPromise = null;
74let videoJsLoaderPromise = null;
74
75
75// ───────────────────────────────────────────────────────────────────────────
76// ───────────────────────────────────────────────────────────────────────────
@@ -2516,6 +2517,9 @@ async function ensureVideoJsLoaded ()
2516
2517
2517function configureVideoJsBuffering (videojs)
2518function configureVideoJsBuffering (videojs)
2518{
2519{
2520 if (! VIDEO_FORWARD_BUFFER_OVERRIDE_ENABLED)
2521return;
2522
2519 if (!videojs || !videojs.Vhs || videojs.__filemanagerBufferingConfigured) return;
2523 if (!videojs || !videojs.Vhs || videojs.__filemanagerBufferingConfigured) return;
2520 videojs.__filemanagerBufferingConfigured = true;
2524 videojs.__filemanagerBufferingConfigured = true;
2521
2525