I can’t found it how can I post embedded videos or posts from social media sites, like on Reddit or other similar sites.
Idk but you could embed videos before the last update just like you can embed/add image files:
![](video-file-path.mp4)
But doesn’t seem to work anymore sadly.
It’s blocked by CSP
What’s CSP?
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
So it can be solved by whitelisting known safe domains such as catbox.moe who provides sharing media and such!
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
this would have to be the same on all instances for federated articles to work, so that would be a problem
content security policy
embed YouTube, Streamable, Imgur Gfycat.
There aren’t any benefits of it. It only increases resources usage and decreases privacy and security(as embedded sites can still track users because browser will send http request at that site while loading).
Instead pasting an embedded link somewhere in post or reply would be a better way to accomplish it.
deleted by creator
I’m also very excited about this feature
Do the videos show up for you here? (For me it’s only unsupported media type but in principle it seems like markdown could work too)
deleted by creator
nope, same on FF
I think I’ve seen one embedded video here
Where?
probably imgur GIFs?
deleted by creator
I don’t want to go (e.g.) YouTube to watch 4 advert before I can see the video. Embed is so muchier comfy and the site is more entertainable with the embedded video or social post, not only just a link.
it is a balance between security and usability, I assume it leans more towards security
i wonder if it would work to remove the CSP header with a header extension though
deleted by creator
Making sure Lemmy never takes off any%
Tell people they need to install an extension to make Lemmy usable
deleted by creator
Wow, ok.