this post was submitted on 24 Nov 2024
164 points (95.1% liked)

Videos

14365 readers
214 users here now

For sharing interesting videos from around the Web!

Rules

  1. Videos only
  2. Follow the global Mastodon.World rules and the Lemmy.World TOS while posting and commenting.
  3. Don't be a jerk
  4. No advertising
  5. No political videos, post those to [email protected] instead.
  6. Avoid clickbait titles. (Tip: Use dearrow)
  7. Link directly to the video source and not for example an embedded video in an article or tracked sharing link.
  8. Duplicate posts may be removed

Note: bans may apply to both [email protected] and [email protected]

founded 2 years ago
MODERATORS
164
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/videos
 

Cross-posting from source

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 1 week ago* (last edited 1 week ago) (3 children)

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 8 points 1 week ago (2 children)

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

[–] [email protected] 7 points 1 week 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.

[–] [email protected] 1 points 1 week 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 6 points 1 week ago (1 children)

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

[–] [email protected] 2 points 1 week ago (1 children)

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 2 points 1 week ago (1 children)

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.

[–] [email protected] 2 points 1 week ago (1 children)

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 2 points 1 week 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.

[–] [email protected] 5 points 1 week ago

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