Commit dee99085 authored by Samuel Giddins's avatar Samuel Giddins Committed by Carola Nitz

Keep showing the video view when pausing a video in the mini player

parent dab74483
......@@ -209,12 +209,13 @@ currentMediaHasTrackToChooseFrom:(BOOL)currentMediaHasTrackToChooseFrom
- (void)displayMetadataForPlaybackController:(VLCPlaybackController *)controller metadata:(VLCMetaData *)metadata
{
_videoView.hidden = YES;
if (metadata.isAudioOnly) {
_artworkView.contentMode = UIViewContentModeScaleAspectFill;
_artworkView.image = metadata.artworkImage?: [UIImage imageNamed:@"no-artwork"];
_videoView.hidden = YES;
} else {
_artworkView.image = nil;
_videoView.hidden = NO;
}
NSString *metaDataString;
......
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