1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Show PlaySettings button even if transcoding isn't supported

This commit is contained in:
Dmitry Lyzo 2022-05-22 14:55:59 +03:00
parent f1274041ce
commit abbc5963f2
3 changed files with 6 additions and 8 deletions

View file

@ -199,7 +199,8 @@ function showWithUser(options, player, user) {
});
}
if (user && user.Policy.EnableVideoPlaybackTranscoding) {
if (options.quality && supportedCommands.includes('SetMaxStreamingBitrate')
&& user?.Policy?.EnableVideoPlaybackTranscoding) {
const secondaryQualityText = getQualitySecondaryText(player);
menuItems.push({