mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-05 04:32:52 +00:00
git-subtree-dir: submodules/LegacyComponents git-subtree-mainline:6086305304git-subtree-split:d559434616
18 lines
512 B
Objective-C
18 lines
512 B
Objective-C
#import <UIKit/UIKit.h>
|
|
|
|
@class AVPlayer;
|
|
@class AVPlayerLayer;
|
|
|
|
@interface TGModernGalleryVideoView : UIView
|
|
|
|
@property (nonatomic, strong) AVPlayer *player;
|
|
@property (nonatomic, readonly) AVPlayerLayer *playerLayer;
|
|
@property (nonatomic, copy) void (^deallocBlock)(void);
|
|
@property (nonatomic, strong) NSString *key;
|
|
|
|
- (instancetype)initWithFrame:(CGRect)frame player:(AVPlayer *)player;
|
|
- (instancetype)initWithFrame:(CGRect)frame player:(AVPlayer *)player key:(NSString *)key;
|
|
- (void)cleanupPlayer;
|
|
|
|
@end
|