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.
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.
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.
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! 😎
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.I’m an amateur web dev, is that really all it takes with HTML?
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.
Going down New and saw this post after posting on your embeddeding test. Whatever you did, it worked!
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
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.
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! 😎
Awesome. I’m going to try it out! Excited to see progress happen so fast