fix(YouTube - Client spoof): Restore seekbar thumbnails

This works around the issue, but causes seekbar thumbnails to be in low quality.
This commit is contained in:
oSumAtrIX
2023-09-25 16:34:08 +02:00
parent e74e65364a
commit 7d822ddbec
8 changed files with 109 additions and 80 deletions
@@ -122,7 +122,6 @@ object RememberVideoQualityPatch : BytecodePatch(
* It also hooks the method which is called when the video quality to set is determined.
* Conveniently, at this point the video quality is overridden to the remembered playback speed.
*/
VideoInformationPatch.onCreateHook(INTEGRATIONS_CLASS_DESCRIPTOR, "newVideoStarted")
@@ -59,7 +59,7 @@ object VideoIdPatch : BytecodePatch(
}
/**
/**
* Adds an invoke-static instruction, called with the new id when the video changes.
*
* Supports all videos (regular videos, Shorts and Stories).