Commit Graph
1 Commits
Author SHA1 Message Date
robot bc3f37ae4c fix: improve HLS.js video detection and playback capture
CI / test (pull_request) Failing after 16s
- Add Hls.cast(video) detection (Strategy B1) — uses the official hls.js
  API to retrieve bound instances from <video> elements
- Add _goon_hls_manifest annotation check (Strategy B2) — reads interceptor-set
  manifest URLs directly on video elements
- Refactor scrapeFn to a 5-priority HLS detection chain:
  1. Direct .m3u8 in video.src
  2. Interceptor-set _goon_hls_manifest
  3. Hls.cast(video) official API
  4. Direct HTTP source (non-blob)
  5. Deep probe fallback (page globals/scripts)
- Replace fragile Object.defineProperty Hls detection with polling interval
  in interceptors.js — avoids conflicts with page JS
- Add buffered range tracking and duration to content.js video scan data
- Add 8 new tests for HLS detection priority chain (55 total)
2026-08-12 00:49:21 +00:00