youtube-webos icon indicating copy to clipboard operation
youtube-webos copied to clipboard

Feature request: force video resolution

Open ElPumpo opened this issue 1 year ago • 2 comments

YouTube automaticly changes the video resolution all the time for me. For example videos will be played in 1080, 1440, and even 720 even if I choose 4k in the previous video.

If you could implement code that forces a resolution choosen in 'green menu' it would be great. It's annoying that Youtube does this! They probably do this to save bandwidth on their platform

See ReVanced for implement ideas

ElPumpo avatar Dec 19 '23 19:12 ElPumpo

Without looking into it that deeply, my guess is that this is not realistic. If I understand correctly, ReVanced is patching the YouTube APK. We're just adding a few scripts around the edges of the YouTube TV website. It's a very different situation.

Since the official webOS YouTube app has moved to Cobalt, I don't think they're supporting the WAM version anymore. Therefore I doubt any new features will be added by Google, and it will gradually break in more and more ways.

There is also not really anyone working on this app. It would be nice if somebody stepped up to maintain it. We may be able to keep it functional, but don't expect any major new features related to video playback itself... unless someone wants to reverse engineer the YouTube TV site and find some sort of semi-official API to change playback settings.

Just reaching into the YouTube JS to manipulate the internals is not feasible. It's (at least) minified. So even if you managed to find a way to change the resolution with internal methods, the identifiers would likely all change the next time Google rebuilds the site.

throwaway96 avatar Feb 03 '24 01:02 throwaway96

Thank you for the information

ElPumpo avatar Feb 03 '24 17:02 ElPumpo