Updated YTShortsProgress to v1.0.3
This is my own version of YTShortsProgress, a contribution to PoomSmarts Tweak. Changes: Removed Flag `mobileShortsTablnlined` as a replacement for the new flag `mobileShortsTablnlinedExpandWatchOnDismiss`, the flag that I removed isn’t on the app anymore. Added an Implementation to remove YouTube’s Tracking Parameters
This commit is contained in:
parent
7f4faf44ed
commit
b3cb53e998
1 changed files with 26 additions and 0 deletions
26
uYouPlus.xm
26
uYouPlus.xm
|
|
@ -345,6 +345,32 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
|||
- (BOOL)savedSettingShouldExpire { return NO; }
|
||||
%end
|
||||
|
||||
// YTShortsProgress v1.0.3 - https://github.com/PoomSmart/YTShortsProgress/
|
||||
%hook YTReelPlayerViewController
|
||||
- (BOOL)shouldEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTReelPlayerViewControllerSub
|
||||
- (BOOL)shouldEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
||||
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||
%end
|
||||
|
||||
%hook YTColdConfig
|
||||
- (BOOL)iosEnableVideoPlayerScrubber { return YES; }
|
||||
- (BOOL)mobileShortsTablnlinedExpandWatchOnDismiss { return YES; }
|
||||
%end
|
||||
|
||||
%hook YTHotConfig
|
||||
- (BOOL)enablePlayerBarForVerticalVideoWhenControlsHiddenInFullscreen { return YES; }
|
||||
%end
|
||||
|
||||
%hook YTIReelPlayerOverlayRenderer
|
||||
- (BOOL)hasTrackingParams { return NO; }
|
||||
%end
|
||||
|
||||
// YTNoPaidPromo: https://github.com/PoomSmart/YTNoPaidPromo
|
||||
%hook YTMainAppVideoPlayerOverlayViewController
|
||||
- (void)setPaidContentWithPlayerData:(id)data {
|
||||
|
|
|
|||
Loading…
Reference in a new issue