mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
enable/disable controls
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user