mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
enable/disable controls
This commit is contained in:
@@ -45,6 +45,11 @@
|
||||
|
||||
_videoPlayerNode = [[ASVideoPlayerNode alloc] initWithUrl:fileUrl];
|
||||
_videoPlayerNode.delegate = self;
|
||||
// _videoPlayerNode.disableControls = YES;
|
||||
//
|
||||
// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(10.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||
// _videoPlayerNode.disableControls = NO;
|
||||
// });
|
||||
|
||||
_videoPlayerNode.backgroundColor = [UIColor blackColor];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user