diff --git a/Classes/YouView/MGMVideoFinder.m b/Classes/YouView/MGMVideoFinder.m index a051c16..a160fc0 100644 --- a/Classes/YouView/MGMVideoFinder.m +++ b/Classes/YouView/MGMVideoFinder.m @@ -463,11 +463,7 @@ NSString * const MGMVT3D = @"3D"; [theAlert runModal]; } else { NSMutableDictionary *info = [NSMutableDictionary dictionary]; - if (![[MGMSystemInfo info] isAfterSnowLeopard]) { - [info setObject:[NSURL URLWithString:[[[video objectForKey:MGMULURL] absoluteString] replace:@"https://" with:@"http://"]] forKey:MGMVLVideoURLKey]; - } else { - [info setObject:[video objectForKey:MGMULURL] forKey:MGMVLVideoURLKey]; - } + [info setObject:[video objectForKey:MGMULURL] forKey:MGMVLVideoURLKey]; if (![[[videoQualities objectForKey:[video objectForKey:MGMULTag]] objectForKey:MGMVTAudio] boolValue]) { [info setObject:[audio objectForKey:MGMULURL] forKey:MGMVLAudioURLKey]; diff --git a/Classes/YouView/Player/MGMPlayer.m b/Classes/YouView/Player/MGMPlayer.m index 1bc0efe..43dc971 100644 --- a/Classes/YouView/Player/MGMPlayer.m +++ b/Classes/YouView/Player/MGMPlayer.m @@ -614,6 +614,12 @@ NSString * const MGMILPath = @"path"; - (void)updateControls { if ([[moviePlayer movie] loadState]==-1L) { + NSError *error = [[moviePlayer movie] attributeForKey:@"QTMovieLoadStateErrorAttribute"]; + if (error!=nil) { + NSLog(@"%@", error); + } else { + NSLog(@"No error output for this OS."); + } [moviePlayer setMovie:nil]; if (updateControlsTimer!=nil) { [updateControlsTimer invalidate];