uYouLocal crash workaround

This commit is contained in:
level3tjg
2022-06-23 12:42:28 -04:00
parent f2cb699e3b
commit 2116d96e6a
2 changed files with 13 additions and 0 deletions
+8
View File
@@ -177,6 +177,14 @@ BOOL ytMiniPlayer() {
}
%end
// Workaround for https://github.com/MiRO92/uYou-for-YouTube/issues/140
%hook YTLocalPlaybackController
%new
- (id)activeVideoController {
return [self activeVideo];
}
%end
// YTClassicVideoQuality: https://github.com/PoomSmart/YTClassicVideoQuality
%hook YTVideoQualitySwitchControllerFactory
- (id)videoQualitySwitchControllerWithParentResponder:(id)responder {