mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
added muting property and delegate callback to override video tapping
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
@property (nonatomic, assign, readwrite) BOOL shouldAutoplay;
|
||||
@property (nonatomic, assign, readwrite) BOOL shouldAutorepeat;
|
||||
|
||||
@property (nonatomic, assign, readwrite) BOOL muted;
|
||||
|
||||
@property (atomic) NSString *gravity;
|
||||
@property (atomic) ASButtonNode *playButton;
|
||||
|
||||
@@ -39,5 +41,6 @@
|
||||
@protocol ASVideoNodeDelegate <NSObject>
|
||||
@optional
|
||||
- (void)videoPlaybackDidFinish:(ASVideoNode *)videoNode;
|
||||
- (void)videoNodeWasTapped:(ASVideoNode *)videoNode;
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user