DontEatMyContent - @therealFoxster

Prevent the notch/Dynamic Island from munching on 2:1 video content in YouTube
This commit is contained in:
Aric
2022-09-24 19:40:50 -05:00
committed by GitHub
parent 409537eba3
commit c864966f11
3 changed files with 189 additions and 3 deletions
+31 -2
View File
@@ -37,6 +37,26 @@
- (float)progress;
@end
@interface YTPlayerView : UIView
- (BOOL)zoomToFill;
- (id)renderingView;
- (id)playerView;
@end
@interface MLHAMSBDLSampleBufferRenderingView : UIView
@end
@interface YTMainAppVideoPlayerOverlayViewController : UIViewController
- (BOOL)isFullscreen;
- (id)videoPlayerOverlayView;
- (id)activeVideoPlayerOverlay;
@end
@interface YTMainAppVideoPlayerOverlayView : UIView
- (UIViewController *)_viewControllerForAncestor;
+ (CGFloat)topButtonAdditionalPadding;
@end
// iOS16 fix
@interface OBPrivacyLinkButton : UIButton
- (instancetype)initWithCaption:(NSString *)caption
@@ -61,8 +81,10 @@
@end
// YTAutoFullScreen
@interface YTPlayerViewController (YTAFS)
@interface YTPlayerViewController (YTPlayerViewControllerCategory)
- (void)autoFullscreen;
- (id)activeVideoPlayerOverlay;
- (id)playerView;
@end
// OLED Darkmode
@@ -94,4 +116,11 @@
@end
@interface UIPredictionViewController : UIViewController
@end
@end
//
NSString* deviceName();
BOOL isDeviceSupported();
void activate();
void deactivate();
void center();