Selaa lähdekoodia

ATV: pop to mini playback if fullscreen experience is left

Felix Paul Kühne 9 vuotta sitten
vanhempi
commit
e59797eef7

+ 2 - 0
VLC for Apple TV/VLCFullscreenMovieTVViewController.m

@@ -74,6 +74,8 @@
     [self.navigationController setNavigationBarHidden:NO animated:YES];
 
     [super viewWillDisappear:animated];
+
+    [[UIApplication sharedApplication] sendAction:@selector(closeFullscreenPlayback) to:nil from:self forEvent:nil];
 }
 
 - (void)prepareForMediaPlayback:(VLCPlaybackController *)controller

+ 1 - 1
VLC for Apple TV/VLCOpenNetworkStreamTVViewController.m

@@ -43,7 +43,7 @@
     _recentURLs = [NSMutableArray arrayWithArray:[[NSUbiquitousKeyValueStore defaultStore] arrayForKey:kVLCRecentURLs]];
     if (_recentURLs.count == 0) {
         [_recentURLs addObject:@"http://streams.videolan.org/streams/mp4/Mr_MrsSmith-h264_aac.mp4"];
-        [_recentURLs addObject:@"http://streams.videolan.org/streams/mp4/404.mp4"];
+        [_recentURLs addObject:@"http://streams.videolan.org/streams/mp4/Mr&MrsSmith.txt"];
     }
     [self.previouslyPlayedStreamsTableView reloadData];
     self.noURLsToShowLabel.hidden = _recentURLs.count != 0;