Commit bce8d1e4 authored by Felix Paul Kühne's avatar Felix Paul Kühne

collaps movie view 2 secs after playback ended (close #8683)

parent edf1f2ab
......@@ -358,6 +358,9 @@
[self performSelector:@selector(closePlayback:) withObject:nil afterDelay:2.];
}
if (currentState == VLCMediaPlayerStateEnded || currentState == VLCMediaPlayerStateStopped)
[self performSelector:@selector(closePlayback:) withObject:nil afterDelay:2.];
UIImage *playPauseImage = [_mediaPlayer isPlaying]? [UIImage imageNamed:@"pause"] : [UIImage imageNamed:@"play"];
[_playPauseButton setImage:playPauseImage forState:UIControlStateNormal];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment