I’ve noticed that on Lemmy there aren’t really any videos/gifs as I scroll. I just see post titles, links, or images.

Is there a reason videos and gifs aren’t showing up on my feed?

  • wildchandelure@midwest.social
    link
    fedilink
    arrow-up
    130
    arrow-down
    1
    ·
    edit-2
    2 years ago

    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.

    • MajesticFlame@lemmy.one
      link
      fedilink
      arrow-up
      77
      arrow-down
      5
      ·
      edit-2
      2 years ago

      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.

      • 312@lemm.ee
        link
        fedilink
        English
        arrow-up
        75
        arrow-down
        4
        ·
        2 years ago

        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.

        • trifictional@lemmy.world
          link
          fedilink
          English
          arrow-up
          18
          arrow-down
          2
          ·
          edit-2
          2 years ago

          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.

          • 312@lemm.ee
            link
            fedilink
            English
            arrow-up
            24
            ·
            2 years ago

            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.

          • masterspace@lemmy.ca
            link
            fedilink
            English
            arrow-up
            10
            arrow-down
            1
            ·
            2 years ago

            Lemmy does serve up its own UI which reads itself and that UI doesn’t support embedding videos.

      • sorenant@lemmy.world
        link
        fedilink
        arrow-up
        9
        arrow-down
        1
        ·
        2 years ago

        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).

        • hitagi@ani.social
          link
          fedilink
          English
          arrow-up
          8
          ·
          2 years ago

          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.

          • dasprii@lemmy.froztbyte.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 years ago

            ani.social

            I love that lol.

            Is there somewhere in the docs that explains how to configure your instance to compress images like that?

      • kiddblur@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        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.

    • sneezelord@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Glad to hear it’s a requested feature. It kinda just hit me that it seems empty with no videos or gifs as you scroll. They definitely need to implement an embedded video player instead of links to videos/gifs.

  • hitagi@ani.social
    link
    fedilink
    English
    arrow-up
    36
    arrow-down
    1
    ·
    2 years ago

    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:

    • sorenant@lemmy.world
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      1
      ·
      2 years ago

      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?

      • igorlogius@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 years ago

        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);
        })();
        
      • hitagi@ani.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        I’m not aware of an option like that but that sounds like a good feature.

      • ThatGirlKylie@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        1
        ·
        2 years ago

        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.

      • dismalnow@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        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.
      • hitagi@ani.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Catbox has a FAQ and lists connectivity issues in certain countries like Australia, Ireland/UK, Iran, Afghanistan or users of Comcast and Quad9.

    • NotAPenguin@kbin.social
      link
      fedilink
      arrow-up
      1
      arrow-down
      13
      ·
      2 years ago

      When people say “gifs” nowadays they don’t mean actual .gif files, .gif files are very outdated and barely used at this point.

      Gif has just become the term for short videos without sound

  • Gevian@feddit.de
    link
    fedilink
    arrow-up
    23
    arrow-down
    2
    ·
    edit-2
    2 years ago

    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

  • myxi@feddit.nl
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    edit-2
    2 years ago

    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.

  • rimlogger@lemmy.world
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    2 years ago

    Without native video hosting, a lot of Reddit communities that are video centric (e.g. /r/CombatFootage) are not likely to migrate over here. I find myself missing video content here - it’s a huge weakness of the Lemmy platform in general, and why I believe it will not fully replace Reddit as a thing.

    • trifictional@lemmy.world
      link
      fedilink
      arrow-up
      16
      arrow-down
      1
      ·
      2 years ago

      It will. Reddit only added video hosting in the past couple years. Before that, everyone just linked imgur and other hosting sites.

      I bet the largest servers will eventually have their own hosting platform too, but for now it’s one of the growing pains.

      • Generator@lemmy.pt
        link
        fedilink
        arrow-up
        5
        ·
        2 years ago

        Hosting videos requires a lot of storage, before reddit hosting images/videos most used services where imgur, streamable, gifycat…

        On small instances hosting videos could be an issue with storage and bandwidth, hosting externally is always a best option

    • Troy@lemmy.ca
      link
      fedilink
      arrow-up
      13
      ·
      2 years ago

      Ironically, reddit did just fine without hosting videos for… Well, like ten years.

      • rimlogger@lemmy.world
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        2 years ago

        But if Lemmy is going to be a serious Reddit replacement, it’s going to need to be able to host videos as well.

        • Troy@lemmy.ca
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          I suspect certain video oriented communities will go elsewhere. /r/combatfootage was my only Reddit video community, so it hasn’t impacted me much.

          I’m running !spacemusic@lemmy.ca now which occasionally links to YouTube videos when other sources aren’t easy to find. We will see how that goes.

          Probably features will get added over time. Maybe the federated video hosting stuff will take off some day. But from a bandwidth perspective, that might be hard for these volunteer run servers to handle.

        • ShittyKopper [they/them]@lemmy.w.on-t.work
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 years ago

          Who says Lemmy should/must/has to be a “serious Reddit replacement?”
          Who decides on what features it needs to be a “serious Reddit replacement?”

          It has already replaced Reddit for me with it’s current feature set (I’m just waiting for my GDPR export to go through to bail out from there),

    • dogebread@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Why isn’t that a link… Is that a Lemmy thing or an instance thing or an app thing? These tiny UX friction points are important for retention.

  • SmokeyDope@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    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/

  • inverimus@lemm.ee
    link
    fedilink
    arrow-up
    4
    arrow-down
    4
    ·
    edit-2
    2 years ago

    I’ve always hated reddit hosted videos, the performance was terrible. A link to youtube was always so much faster. I guess it made sense for subreddits that focused on video content, but I never cared about any of those.

    • foxrumor@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      2 years ago

      Doesn’t need to be hosted on the server. Just need the client’s to support smooth embedding from other video hosts like peertube.

  • Linux-Is-Best@kbin.social
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    2 years ago

    This is why I prefer kbin over Lemmy. – I’m posting this on kbin.social right now.

    Kbin honestly looks like a drop replacement for Reddit. If you were not paying attention and had given Kbin the Reddit logo, you could easily mistake this for Reddit. Plus it is further developed along.

    • zalack@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      I would say it reminds me of Reddit circa 2010. It’s still pretty rough around the edges but it’s also the most fun I’ve had on the Internet in years.

      • Darkrai@kbin.social
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        2 years ago

        It’s because the Top is judged by the amount of boosts, not the favorites or upvotes.