this post was submitted on 06 Aug 2022
0 points (NaN% liked)

Lemmy

12438 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

I can't found it how can I post embedded videos or posts from social media sites, like on Reddit or other similar sites.

you are viewing a single comment's thread
view the rest of the comments
[–] alexlehm@feddit.de 0 points 2 years ago (1 children)

Content Security Policy, this defines which domains may be used from the main site domain, this blocks different kinds of attacks but has the effect that random domains cannot be embedded

[–] Fissionami@lemmy.ml 0 points 2 years ago (1 children)

So it can be solved by whitelisting known safe domains such as catbox.moe who provides sharing media and such!

[–] alexlehm@feddit.de 0 points 2 years ago* (last edited 2 years ago) (1 children)

that would be possible, it would require "trusted" embed sources, e.g. youtube or catbox or whatever. i know of another reddit type clone site which has their own official video host and pic host that allow embed but they block others

[–] alexlehm@feddit.de 0 points 2 years ago

this would have to be the same on all instances for federated articles to work, so that would be a problem