diff --git a/demo/demo-ios/demo-ios/SGPlayViewController.m b/demo/demo-ios/demo-ios/SGPlayViewController.m index a2408be0..71a00c66 100644 --- a/demo/demo-ios/demo-ios/SGPlayViewController.m +++ b/demo/demo-ios/demo-ios/SGPlayViewController.m @@ -41,10 +41,8 @@ - (void)viewDidLoad [super viewDidLoad]; self.player.videoRenderer.view = self.view; - self.player.readyHandler = ^(SGPlayer *player) { - [player play]; - }; [self.player replaceWithAsset:self.asset]; + [self.player play]; } #pragma mark - SGPlayer Notifications