added muting property and delegate callback to override video tapping

This commit is contained in:
Luke Parham
2016-01-29 09:27:48 -08:00
parent af37a48421
commit 2d1499ab4f
5 changed files with 61 additions and 9 deletions

View File

@@ -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