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

Videos

14422 readers
448 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 !politicalvideos@lemmy.world 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 !videos@lemmy.world and !politicalvideos@lemmy.world

founded 2 years ago
MODERATORS
164
submitted 1 month ago* (last edited 1 month ago) by OpenStars@piefed.social to c/videos@lemmy.world
 

Cross-posting from source

you are viewing a single comment's thread
view the rest of the comments
[–] ptz@dubvee.org 7 points 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.