avi12 / youtube-auto-hd

A simple browser extension for changing YouTube videos' quality based on FPS.
https://avi12.com/youtube-auto-hd
GNU General Public License v3.0
235 stars 28 forks source link

[Feature request] add mobile to site links #35

Closed zlice closed 2 years ago

zlice commented 2 years ago

They recently added some annoying feature that enlargens a video and starts autoplaying. So I tried to use mobile to avoid this, but youtube-auto-hd does not work on the mobile site.

Adding mobile would be nice, may even be able to use it on FF mobile.

system: firefox, linux

zlice commented 2 years ago

Closing...as the mobile site in FF desktop does not seem to allow you to do simple things like advance with mouse or arrows. Sorry for the noise.

avi12 commented 2 years ago

Hey there Currently, the only way to run the extension on mobile devices is via Safari on iOS, which, by the way, is only maintained by @carlosjeurissen In the past, extension developers could also port their extension over to Firefox for Android, until Mozilla took it down, for now

TBH, I don't understand why people are upset over the extension"s unavailablity on mobile. I mean, the YouTube app literally supports automatically setting the HD to be the highest quality possible, which, unlike the desktop counterpart, actually works (I tried it on my Android)

zlice commented 2 years ago

Mobile on desktop works diff I guess?

avi12 commented 2 years ago

At the end of the day, it works exactly the same Suppose you're on Android whose resolution is 1080x1920 - the YouTube app will only offer you qualities up to 1080p When you're on the desktop, a similar thing happens, but from a different perspective: suppose you're on a 1080p monitor, YouTube will indeed offer all the qualities for a given video, including ones that are higher than 1080p; but if you pick a higher one - you will still see it in 1080p, as the browser will downscale the video to match with your resolution anyway

So, at the end of the day, you're still seeing in up to 1080p

That's why I set in the extension that by default, it will pick the resolution that is the closest to your monitor https://github.com/avi12/youtube-auto-hd/blob/80f135666353ee5603f34c690c7b4d9762fb48ae/src/shared-scripts/ythd-setup.ts#L6