YouTube and Webview issue

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

  1. DavidBlack macrumors 6502a


    Jan 27, 2013
    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:,, and etc... But it does not do that for YouTube :confused:

    This is my code btw.
    Can someone help me?

    - (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 6502a

    Madd the Sane

    Nov 8, 2010
    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