this post was submitted on 19 Apr 2025
319 points (99.1% liked)

Lemmy Shitpost

31032 readers
4282 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 53 points 4 days ago* (last edited 4 days ago) (4 children)

Video posts totally work on Lemmy. However, the video must be on the "free and open internet". Allow me to explain.

Lemmy, like Reddit, only allows for text posts and link posts. You can make "media posts" because most instances will allow media upload via a pict-rs server running on a subdomain, seamlessly creating a link post when you do.

However, this only applies to media you can obtain a direct link to. Other than instance-specific* pict-rs, the only major public sites that allow direct URL hosting are Catbox and GitHub. We don't have deals with major video hosting sites like YouTube, TikTok, v.redd.it, imgur etc. to embed videos when someone posts a link to the website the video is hosted on. Therefore, any link posts will have to be opened as an external website, which is very annoying indeed, especially for the aforementioned JS-heavy sites (unless the other user has an alternative frontend app such as Piped or NewPipe set up).

* Instance shenanigans: Some instances impose a very small size limit to uploads or only allow them a certain time after account creation (both for lemm.ee for instance). You won't usually see admins sharing what restrictions they put in place, but we can get a good guess from the defaults (error 502 currently, see archive). These defaults remain unchanged by many instance admins and the TL;DR is:

Applies to any media

  • 10 MiB limit

Static pictures

  • 10000x10000 or 40 MP
  • all major formats (webp, jpg, png, jxl)

Animated pictures (colloquially known as gifs)

  • 1920x1920 or 2.08 MP (basically 1920x1080 in either orientation)
  • all major formats (webp (recommended), apng, gif, avif)

Videos

  • 3840x3840 or 8.3 MP (basically 3840x2160 in either orientation)
  • 900 frames (that's like 30-40 seconds but you can get longer with something like a VFR slideshow)
  • no sound, I think
  • all major formats supported but unless it's VP9 in a WebM container, it will be transcoded by the server and the timeout of the ffmpeg operation is like 15 seconds! This means that it's practically impossible to upload any but the shortest videos unless they're VP9 in WebM already!

You can see that video upload is very limiting! If you're tech-savvy you can get a lot out of the 10 MiB and 900 frames but you need some ffmpeg skills. Therefore, your best bet is uploading to catbox.moe or GitHub (via a repo and using https://raw.githubusercontent.com/yourUsername/repoName/branchSuchAsMain/imagePath.png or the issue loophole (max 25 MiB)), obtaining a direct link to the file and pasting it as a link post URL. Or just paste the YouTube, TikTok, v.redd.it, imgur etc. URL and deal with the fact people will have to open the heavy website (or their alt-frontend app like NewPipe).

[–] [email protected] 24 points 4 days ago (1 children)

You can make "media posts" because most instances will allow media upload via a pict-rs server running on a subdomain, seamlessly creating a link post when you do.

Just a small correction, it doesn't necessarily run on a subdomain. Mine doesn't. See my cat pic: https://gregtech.eu/pictrs/image/b22f171d-8fa3-416e-818e-5216c5a4851e.webp

[–] [email protected] 7 points 4 days ago
[–] [email protected] 6 points 4 days ago (1 children)

If you upload to PeerTube it embeds just fine on Lemmy.

[–] [email protected] 3 points 4 days ago (1 children)

What frontend are you using? Surely not the default web interface or Voyager!

[–] [email protected] 9 points 4 days ago

It does work on the latest version of the default interface. There was a fix recently.

[–] [email protected] 3 points 4 days ago (1 children)

You don't need "deals" with YouTube etc. for videos. You just…do it. YouTube supports embedding natively. Imgur I'm pretty sure can be directly linked. Not sure about the others.

[–] [email protected] 4 points 4 days ago* (last edited 4 days ago) (1 children)

I explained it in another comment. This was a simplification that's true for i.redd.it and v.redd.it (which block embeds with CORS), the native web UI doesn't do iframe embeds for privacy reasons.

Also, the default (and the most frequent) way people get an image URL out of Imgur is the album URL even for single images. You'd need to contact Imgur to query the number of images and their URLs to enable the kind of embeds you're looking for. AFAIK, Reddit does that but it probably costs them money for an API key.

[–] [email protected] 1 points 4 days ago (1 children)

I'm sure RES doesn't have a sweetheart deal with Imgur. It must be possible without their agreement.

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

I think New Reddit provides the Imgur URL and RES uses it to generate a preview in Old Reddit.

Anyway, should Fediverse platform/app devs spend time trying to accomodate specific shitty platforms?

[–] [email protected] 3 points 4 days ago (2 children)

RES was around long before new Reddit and it does what it does based on what classic Reddit has in it, and what it gets itself. I don't know much more detail than that, except that the devs basically lost interest in doing more than maintenance of it after the redesign came out.

should Fediverse platform/app devs spend time trying to accomodate specific shitty platforms?

That's one way to look at it. I would pose it as

should Fediverse platform/app devs spend time providing the best user experience to the users who are on their platforms?

[–] [email protected] 3 points 4 days ago

Imgur stands for image URL: they would let you upload images and provide you with a direct URL. The enshittification with all that JS and push for on-site social networking came after New Reddit and i.redd.it.

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

Do you need a deal with those instances to be able to have an iFrame to embed the video?

Like from the small web dev stuff I've done while learning programming I was easily able to embed my video in my webpage (from youtube)?

[–] [email protected] 6 points 4 days ago* (last edited 4 days ago) (1 children)

I simplified it a bit. Reddit blocks embeds with CORS or something (and I think Imgur at some point did too) so you do need a deal.

For YouTube, you need to get a special embed URL, like https://youtube.com/embed/videoIDhere (or with the domain youtube-nocookie.com if you're cool). That's easy to generate but if your site includes embedded YouTube videos it also means visitors agree to their ToS, and Lemmy devs don't want that. Believing in net neutrality, they would need to enable ALL iframe embeds from ALL websites, which could easily get messy with tracking and whatnot. As for Imgur, the default (and the most frequent) way people get an image URL is the album URL even for single images. You’d need to contact Imgur to query the number of images and their URLs to enable the kind of embeds you’re looking for. AFAIK, Reddit does that but it probably costs them money for an API key.

[–] [email protected] 1 points 4 days ago

Understandable, thanks for the info!