Skip to content

Commit

Permalink
(structure): fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Oct 9, 2018
1 parent 67c1ddb commit 78b264c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/ios/StreamingMedia.m
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ -(void)startPlayer:(NSString*)uri {
[moviePlayer setPlayer:movie];
[moviePlayer setShowsPlaybackControls:YES];
[moviePlayer setUpdatesNowPlayingInfoCenter:YES];

if(@available(iOS 11.0, *)) { [moviePlayer setEntersFullScreenWhenPlaybackBegins:YES]; }

// present modally so we get a close button
Expand Down Expand Up @@ -270,12 +270,12 @@ - (void) handleListeners {
object:nil];

/* Listen for click on the "Done" button
// Deprecated.. AVPlayerController doesn't offer a "Done" listener... thanks apple. We'll listen for an error when playback finishes
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(doneButtonClick:)
name:MPMoviePlayerWillExitFullscreenNotification
object:nil];
// Deprecated.. AVPlayerController doesn't offer a "Done" listener... thanks apple. We'll listen for an error when playback finishes
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(doneButtonClick:)
name:MPMoviePlayerWillExitFullscreenNotification
object:nil];
*/
}

Expand Down

0 comments on commit 78b264c

Please sign in to comment.