Fix ffmpeg redirects. Fix max resolution setting.

This commit is contained in:
Amar Sandhu
2026-04-24 15:19:19 -06:00
parent 0e26a90dae
commit f5e2c77d25
6 changed files with 44 additions and 17 deletions

View File

@ -920,7 +920,8 @@ class VideoPlayer {
videoMode,
videoCodec: info.video,
audioCodec: info.audio,
audioChannels: info.audioChannels
audioChannels: info.audioChannels,
videoHeight: info.height
});
this.currentUrl = playlistUrl; // Update currentUrl for HLS reload

View File

@ -460,7 +460,8 @@ class WatchPage {
seekOffset: this.resumeTime, // Ensure seekOffset is passed
videoCodec: info.video,
audioCodec: info.audio,
audioChannels: info.audioChannels
audioChannels: info.audioChannels,
videoHeight: info.height
});
this.playHls(playlistUrl);
this.setVolumeFromStorage();