YouTube and Webview issue

Discussion in 'Mac Programming' started by DavidBlack, Jan 27, 2014.

  1. DavidBlack macrumors 6502a

    DavidBlack

    Joined:
    Jan 27, 2013
    Location:
    Somewhere In Apple's HQ ;)
    #1
    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];
           
        }
    }
    
     
  2. Madd the Sane macrumors 6502

    Madd the Sane

    Joined:
    Nov 8, 2010
    Location:
    Utah
    #2
    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.
     

Share This Page