Fix ffmpeg redirects. Fix max resolution setting.
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user