aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/static/modules/plyr/plyr.js
diff options
context:
space:
mode:
authorAstound <kirito@disroot.org>2025-03-07 01:28:34 +0800
committerAstound <kirito@disroot.org>2025-03-07 01:28:34 +0800
commitdecbb8e0b2ce1a4b379cbd463ea836436eb11c63 (patch)
tree9b1c6efc1e041c6681cbf88c2d7833a74c8b97e3 /youtube/static/modules/plyr/plyr.js
parent35daa8879f7e0741d7723d93dca681c061658c68 (diff)
downloadyt-local-decbb8e0b2ce1a4b379cbd463ea836436eb11c63.tar.lz
yt-local-decbb8e0b2ce1a4b379cbd463ea836436eb11c63.tar.xz
yt-local-decbb8e0b2ce1a4b379cbd463ea836436eb11c63.zip
Improve buffer management for different platforms
- Introduced `BUFFER_CONFIG` to define buffer sizes for various systems (webOS, Samsung Tizen, Android TV, desktop). - Added `detectSystem()` function to determine the platform based on `navigator.userAgent`. - Updated `Stream` constructor to use platform-specific buffer sizes dynamically. - Added console log for debugging detected system and applied buffer size.
Diffstat (limited to 'youtube/static/modules/plyr/plyr.js')
0 files changed, 0 insertions, 0 deletions