Lemmy doesn't really support embedding videos yet. It's a highly requested feature so i think we can be assured it'll be here within a future update.
No Stupid Questions
No such thing. Ask away!
!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules (interactive)
Rule 1- All posts must be legitimate questions. All post titles must include a question.
All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.
Rule 2- Your question subject cannot be illegal or NSFW material.
Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.
Rule 3- Do not seek mental, medical and professional help here.
Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.
Rule 4- No self promotion or upvote-farming of any kind.
That's it.
Rule 5- No baiting or sealioning or promoting an agenda.
Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.
Rule 6- Regarding META posts and joke questions.
Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.
On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.
If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.
Rule 7- You can't intentionally annoy, mock, or harass other members.
If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.
Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.
Rule 8- All comments should try to stay relevant to their parent content.
Rule 9- Reposts from other platforms are not allowed.
Let everyone have their own content.
Rule 10- Majority of bots aren't allowed to participate here.
Credits
Our breathtaking icon was bestowed upon us by @Cevilia!
The greatest banner of all time: by @TheOneWithTheHair!
Quite possibly not. Remember that the admins running lemmy instances have very limited revenue so paying for servers is an issue. Some instances even encourage posting links instead of images to save on cost.
Videos are in a league of their own when it comes to size and therefore the server power needed. Lemmy probably can't afford it. Its the prive we pay for no ads. You have to link videos.
Embedding videos doesn’t require local storage of videos. When you embed a YouTube video, you’re just linking a container which loads and displays the video from YouTube’s servers.
But that’s not really a feature of Lemmy itself, but the program reading it.
For example, if I’m using a Lemmy app on my iPhone and I see a post with a YouTube link, the app is the one that needs to implement this embedded view feature.
Yes, but I assume the OP is referring to lemmy-ui, which is the built-in frontend for desktop and mobile in the browser, which does not at this point support dynamic conversion of youtube links to embed cards AFAIK. App support of embeds will obviously be on a app-to-app basis.
Lemmy does serve up its own UI which reads itself and that UI doesn't support embedding videos.
Ah I see, I’ve only been using it from wefwef so far.
I'm not sure if Lemmy already does it or not but I wouldn't mind if it also compressed attached pictures to save on storage and bandwidth like some other forums does (eg compress picture to <1mb).
I wouldn’t mind if it also compressed attached pictures to save on storage and bandwidth
It already does depending on the instance configuration. In my instance, all images are converted to WEBP and downscaled to 1000 pixels max either side.
Yeah, my instance has a 100kb file size limit on images and recommends posting links as well. Not sure how that’s gonna play out long term. With sites like gfycat shutting down and nuking their content, I wonder if we’re exiting the era of free hosting and sharing as well.
But why not even links to videos or gifs
GIFs work. At least in the comments they do. Videos can be (somewhat) embedded if you use an external host (i.e. catbox).
GIF sample:
I'm a bitter old man who dislikes inline gifs in the comments, is there a way to block it like I did with RES on Reddit?
You can use a userscript manager like greasymonkey to inject a javascript snippet that will hide images in comments which have obvious urls to gifs and replace them with actual links or hide them
here an example snippet:
(() => {
let timerID;
function onChange() {
Array.from(document.querySelectorAll('.comment-node img[src$=".gif"]')).forEach((e) => {
const src = e.getAttribute('src');
if (typeof src === 'string' && src.startsWith('http')) {
e.setAttribute('src', '');
const a = document.createElement('a');
a.innerText = 'link to gif';
a.href = src;
e.parentNode.appendChild(a);
}
});
}
// if we have many mution events, wait until the site has settled
function delayed_onChange() {
clearTimeout(timerID);
timerID = setTimeout(onChange, 500);
}
function init() {
// start observer
new MutationObserver(delayed_onChange).observe(document.body, {
attributes: false,
childList: true,
subtree: true,
});
delayed_onChange();
}
setTimeout(init, 500);
})();
I'm not aware of an option like that but that sounds like a good feature.
Using wefwef at the moment (Apollo inspired) you can use it on android desktop and iPhone as it is a webapp and they show up as a link for me that I can then click and doesn’t embed it or inline it.
I’m a bitter old man who dislikes inline gifs in the comments
I've waffled on this issue over the last 25 years, but agree that the option to show/block should still exist.
First I was against it.
- Mostly because it was change - cluttering my once pristine BBSs
Then I enjoyed it.
- Because it added some liveliness to the threads I read, and because I was in a smaller collective of folks that knew how to do it without being annoying.
Then I was against it again.
- Because the forums/boards because overstuffed with people shitposting ONLY animated gifs.
It's not a gif for me, just a still image.
What client are you using? It plays as a GIF on the browser but it might be a still image in a mobile app.
Yeah on Jerboa it looks like a still image. Still some work to go.
I'm waiting for
- Instant Regret
- What could go wrong (it's there but not much input)
- Damn that's interesting
- Public Freakout
Or some funny fail videos
Be the change you want to see
I have seen couple videos, one was a drone killing Russian soldiers, other ones were for porn. So it may just be lack of interest, or lack of convenience to share videos.
What I would do is upload videos to peertube instance (the peertube servers are better equipped for storing videos and most of them are free + offer more or less unlimited storage) and for pictures use plethora or pixelfied. Lemmy and mastodon are just one aspect of the whole fediverse, there's all sorts of instanced equipped to be all sorts of things https://fediverse.info/
Didn't one of the larger gif sites announce their discontinuation?
Yeah, Gfycat is going away
That’s gonna suck when all those gifs disappear
You can go to/c/kidsbeingderps to see some gifs in action. It’s a new community so there’s not much, but hope it grows. Using Memmy app, I can see the gifs in action as I scroll, similar to Apollo.