ReVanced / revanced-patches

🧩 Patches for ReVanced
https://revanced.app
GNU General Public License v3.0
1.89k stars 217 forks source link

feat(Youtube): Play vertical/Short livestreams on default player #3147

Closed Oleepre closed 1 month ago

Oleepre commented 1 month ago

Feature description

Opening a vertical livestream that is tagged as a short will make it play using the Shorts UI/Player. This happens when clicking on the video on your feed or by opening a youtube link to it written as https://www.youtube.com/live/abcDEFGhi1j However, if we change the link to use the classic format https://www.youtube.com/watch?v=abcDEFGhi1j instead and we opened it like that, the stream uses the classic youtube player, with chat on the botton, description, Quality settings, etc. Using the classic player the stream can use Background Playback (PIP or just audio) which we can't do if it uses the Shorts player.

Steps to reproduce: First we need an active stream.

Motivation

We can see that youtube CAN play these videos with the classic player, so it would be nice to have an option to do so while clicking on one in the app or handling /live/ links. We get to use settings like background playback, quality setting, swipe settings and others. We avoid jumping through shorts by accidentally swiping, default quality not appying properly all the time, and such.

Acknowledgements

LisoUseInAIKyrios commented 1 month ago

https://github.com/ReVanced/revanced-patches/issues/1800