Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DavidBlack

macrumors 6502a
Original poster
Jan 27, 2013
606
239
Somewhere In Apple's HQ ;)
I have a YouTube downloader that needs to show the current URL that user is on in order to download the video. It updates the url for other sites e.g: Apple.com, Google.com, Facebook.com and Cnn.com etc... But it does not do that for YouTube :confused:

This is my code btw.
Can someone help me?

Code:
- (void)webView:(WebView *)sender didStartProvisionalLoadForFrame:(WebFrame *)frame{

    
    // Only report feedback for the main frame.
    if (frame == [sender mainFrame]){
        [progresspageindi startAnimation:progresspageindi];
        [webPageLoadingIndicator startAnimation:webPageLoadingIndicator];

        NSString *url = [[[[frame provisionalDataSource] request] URL] absoluteString];
       //Update URL
 [urlTextField setStringValue:url];
       
    }
}
 

Madd the Sane

macrumors 6502a
Nov 8, 2010
534
73
Utah
Which architecture are you building for? It seems that, for me at least, Flash has issues running on 32-bit code, specifically on Steam and Procaster.

Edit: nevermind.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.