Links to YouTube videos don't open in the YouTube app but as the web version - eviltoast

I checked what kind of links are tied to the YouTube app and it’s alle the usual links for YouTube (Youtou.be, Youtube. com, etc;). Yet, I click on a Yt video link and it opens up a browser window. I didn’t change anything, whether in the options of Voyager nor which links should open with which app. Any idea what is going on?

  • Alex@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Okay, I can reproduce it on iOS and it is expected behavior.

    In the settings turn on open links in in-app browser. Results is expected as promised - in-app web-view.

    Otherwise if you set “open links in default browser”, it opens with YouTube app after all because of app-url-scheme, you know.

    So, IMHO, all right on iOS.

    • Schaedelbach@feddit.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Just tried this also on and it works! Not IOS but my Pixel and yet same thing: It was set to in app browser. No idea why. Changed it and it works like before! Thank you!

      • aeharding@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Just FYI this will make all links open in browser instead of in-app. If someone makes a Github issue, I can add a feature to open Youtube links in Youtube app, while having other links open in the in-app browser. :)

        • Alex@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Is it really needed to create special handlers for special hosts? Where YouTube is there and Twitter and other services. So, how much special handlers there will be?))

          • Alex@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Okay, seems to I was wrong about special url-handling. I needed for lemmy hosts as minimum. As example, will be great to open links to posts in the same app instead of in-app/os’s browser. So now I’m sure we need it for various urls and I was wrong 😑

            • Alex@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              That new problem isn’t about links in post body, but about link in the “link-post”. To reproduce tap to “example” link and then tap to link there - will open in the browser instead of this app.