raingart / Nova-YouTube-extension

Apache License 2.0
198 stars 9 forks source link

[Feature] YouTube Premium Video quality #107

Closed LanGsA0 closed 6 months ago

LanGsA0 commented 10 months ago

When using YouTube Premium, some 1080p videos have a high bitrate video option as a premium feature. (1080p Premium HD) Even when I set the video quality to maximum, the quality option is not selected. Please make it possible.

raingart commented 10 months ago

You can enter this command in the browser console. After send me the output

movie_player.getAvailableQualityLevels()
LanGsA0 commented 10 months ago

You can enter this command in the browser console. After send me the output

movie_player.getAvailableQualityLevels()

movie_player.getAvailableQualityLevels() (7) ['hd1080', 'hd720', 'large', 'medium', 'small', 'tiny', 'auto']

It's 1080p Premium on the player, but not in QualityLevels....

raingart commented 6 months ago

@LanGsA0 hi, I found a new API You can check it in the console if it works it should return an array

movie_player.getAvailableQualityData().find(q => q.qualityLabel.includes('Premium'))