New ? Safari to open YouTube app !

Discussion in 'iOS 6' started by FLK, Sep 22, 2012.

  1. FLK macrumors newbie

    FLK

    Joined:
    Sep 22, 2012
    #1
    Hi ! (First post here :eek:)

    Safari on iOS 6 seem to directly open the official YouTube app (if installed ;)) with a YT video link !

    Is this a new undocumented feature ?
     
  2. i-John macrumors 6502a

    i-John

    Joined:
    Jul 14, 2008
    Location:
    The Republic of Texas
    #2
    I'm sure it's not a feature that Apple added.

    I'm sure it's a script that detects you're on the iPhone, checks whether you have the app installed and opens the app accordingly. I'm sure this is all the work of Google.
     
  3. FLK thread starter macrumors newbie

    FLK

    Joined:
    Sep 22, 2012
    #3
    Well, it´s not working with Google Chrome or any browsers.
     
  4. i-John macrumors 6502a

    i-John

    Joined:
    Jul 14, 2008
    Location:
    The Republic of Texas
    #4
    Could be Google's hook is mobile safari
     
  5. spblat macrumors 6502a

    spblat

    Joined:
    Jun 18, 2010
    #5
    Apple has a whole set of ways for applications to invoke other applications. It involves URL "schemes". Apps can register their URLs and developers can make it known how their apps can be communicated with. It's how apps like Launch Center Pro do their thing.

    For example, if you have waze, go into Safari and enter this:

    waze://?q=mississippi

    For a http://youtube.com/dfgkhdkfjgd URL to map to the new Google App, I think Google and Apple would have to cooperate, because a typical URL scheme might look like "mytodo://newitem" instead of an actual valid web URL. But it's only natural that they did.
     
  6. FLK thread starter macrumors newbie

    FLK

    Joined:
    Sep 22, 2012
    #6
    I've made a test page containing only a link, and it works, so it´s a Safari thing, and it´s also works with iOS 5.1, so it might be a server side configuration that Apple control.
     
  7. kas23 macrumors 603

    kas23

    Joined:
    Oct 28, 2007
    #7
    What is opening in iOS 5.1, the new app or the original YT app?
     
  8. FLK, Sep 22, 2012
    Last edited: Sep 22, 2012

    FLK thread starter macrumors newbie

    FLK

    Joined:
    Sep 22, 2012
    #8
    Oops, i'm retarded, on iOS 5 it´s the old app of course. So the question is still here on iOS6. And since there are some jailbreak tweaks to force Safari to open new YT app, it's seems new, no?


    Edit: According to some Website it´s a special treatment for Google... As expected. I'm an indy dev, and i would love to launch my app with a regular http link.
     
  9. spblat macrumors 6502a

    spblat

    Joined:
    Jun 18, 2010
    #9
    Look into the link I shared above. You can put a pair of links on your website. One link goes to the app store to get your app, and the other link can launch your app, right from your web page. You don't have to get special treatment from Apple to do this; your URL will look something like mycoolapp://.
     

Share This Page