mirror of
https://github.com/nianzhibai/91.git
synced 2026-06-15 08:45:41 +08:00
84fbb6f51c
- Active video loads with priority; next video preloads only after the active one has 12s of forward buffer or is buffered to the end - Add high/low watermark hysteresis (12s grant / 4s revoke) so the preload grant no longer thrashes around the threshold, discarding already-preloaded data - Treat buffered-to-end as healthy to avoid revoking preload near the end of short clips - Mark sources as cacheable on first canplay and keep src bound for cached adjacent slides in both directions, so swiping back (and forward again) reuses the browser buffer instead of reloading Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>