enable/disable controls

This commit is contained in:
Erekle
2016-05-13 01:49:46 +04:00
parent 98c451118b
commit db95771b33
3 changed files with 48 additions and 12 deletions

View File

@@ -31,6 +31,8 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic,assign,readonly) CMTime duration;
@property (nonatomic, assign) BOOL disableControls;
- (instancetype)initWithUrl:(NSURL*)url;
- (instancetype)initWithAsset:(AVAsset*)asset;
@@ -108,7 +110,7 @@ NS_ASSUME_NONNULL_BEGIN
* @abstract Delegate method invoked when the ASVideoNode has played to its end time.
* @param videoPlayerNode The video node has played to its end time.
*/
- (void)videoPlayerNodePlaybackDidFinish:(ASVideoPlayerNode *)videoPlayer;
- (void)videoPlayerNodeDidPlayToEnd:(ASVideoPlayerNode *)videoPlayer;
@end
NS_ASSUME_NONNULL_END