diff --git a/Plugin/Plugin.m b/Plugin/Plugin.m index b0ed6133..0b635248 100755 --- a/Plugin/Plugin.m +++ b/Plugin/Plugin.m @@ -1354,11 +1354,7 @@ - (IBAction)loadYouTubePage:(id)sender { NSString* YouTubePageURL = [ NSString stringWithFormat: @"http://www.youtube.com/watch?v=%@", [self videoId] ]; - [[NSWorkspace sharedWorkspace] openURLs:[NSArray arrayWithObject:[NSURL URLWithString:YouTubePageURL]] - withAppBundleIdentifier:[self launchedAppBundleIdentifier] - options:NSWorkspaceLaunchDefault - additionalEventParamDescriptor:[NSAppleEventDescriptor nullDescriptor] - launchIdentifiers:nil]; + [_webView setMainFrameURL:YouTubePageURL]; } - (IBAction)openFullscreenInQTPlayer:(id)sender;