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?

  • hitagiA
    link
    fedilink
    English
    arrow-up
    45
    arrow-down
    1
    ·
    1 year 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
      26
      arrow-down
      1
      ·
      1 year 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
        9
        ·
        1 year 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);
        })();
        
      • hitagiA
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year 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
        4
        ·
        1 year 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
        3
        ·
        edit-2
        1 year 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.
        • Izzgo@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          I’m not fond of inline gifs. I overwhelm too easy, and so many gifs are kinda over the top without really adding to the conversation. In my opinion. I’d usually turn them off if I had a choice.

      • hitagiA
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

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

      • lontong@kbin.social
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        They block some countries. I’m in Indonesia and I can’t open catbox too without using VPN.

    • NotAPenguin@kbin.social
      link
      fedilink
      arrow-up
      1
      arrow-down
      15
      ·
      1 year 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

      • hitagiA
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I think actual .GIF files are still used but oftentimes they’re just converted to .WEBM’s without sound.