• Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    25
    ·
    edit-2
    1 month ago

    I always love watching performers build up a song, and this is no exception.

    Side note: Ugh. Loops doesn’t have an embed API (yet?). Just emailed them asking if they would consider adding the og:video metadata to the page headers.

      • Admiral Patrick@dubvee.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 month ago

        More or less if you use JS to fetch the link and parse the meta tags in its header. Lemmy does that when you submit a post with a link, and it’ll pull the title, description, image, and video properties and include them with the post detail.

        From there, it’s just a matter of detecting those and rendering them.

      • Nate Cox@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        og is shorthand for open graph, it’s a standard Facebook started for capturing page metadata to use in embedded previews and has caught on to wide adoption. It’s not an official HTML tag but it’s very ubiquitous today.

    • LilDumpy@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 month ago

      Going down New and saw this post after posting on your embeddeding test. Whatever you did, it worked!

      • Admiral Patrick@dubvee.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        I had to go to the Loops page and copy the video URL from there, unfortunately (e.g it wasn’t a standard embed).

        That test was just to primarily see if the video would embed at all and not be blocked by CORS or something.

        Hopefully Loops will put the video URL in the metadata to make things easy. If not, I may attempt a workaround

        • LilDumpy@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          Super cool. I am hoping that Loops will be easily integrated into Lemmy at some point to where it shows on my feed as if I were on loops with the setting option to auto-start or not, and when I upvote they get the heart.

          • OpenStars
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            Btw Admiral Patrick has embedded Loops videos at https://tesseract.dubvee.org/c/loops@midwest.social. It’s a full embed of the video, though not full integration of Loops as you were saying - e.g. there’s no heart icon or comments, though he keeps adding more features to the embed like metadata display. Cool! 😎

          • Admiral Patrick@dubvee.org
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 month ago

            That’s what I’m hoping, but from what I’ve noticed, most other federated platforms (Mastodon, Wordpress, etc) all seem to use the user-follow paradigm which Lemmy still doesn’t support.

            Supposedly PeerTube follows work, but I only ever seem to get the initial fetch (though I can comment and vote on them from here, and those show up on PeerTube).

            • LilDumpy@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 month ago

              Ya I am hoping one day (hopefully soon) I’ll be able to scroll through my Lemmy feed and see a Mastodon/microblogging post (which I occasionally see) from some people I am able to follow, while I scroll past a Loops video, and some Pixelfed content too. Just full integration both ways. That will be the tipping point for federation to pop off once that happens, because then it doesn’t matter which federated service you choose you will have access to all the social media content types.