• Admiral Patrick
    link
    fedilink
    English
    25
    edit-2
    5 days 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.

    • @rockSlayer
      link
      85 days ago

      I’m an amateur web dev, is that really all it takes with HTML?

      • Admiral Patrick
        link
        fedilink
        English
        75 days 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
        link
        fedilink
        English
        15 days 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
      link
      65 days ago

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

      • Admiral Patrick
        link
        fedilink
        English
        25 days 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
          link
          English
          24 days 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.

          • Admiral Patrick
            link
            fedilink
            English
            24 days 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
              link
              English
              24 days 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.

    • OpenStarsOP
      link
      fedilink
      English
      55 days ago

      In the cross-post someone gave a link to a male vocal version with Ryan Reynolds and a surprise guest:-).