One of the only things I find myself missing about reddit is the videos. I’m aware that it’s not really feasible for videos to be hosted on a lemmy instance at the moment, but I’m curious if that might change

  • kadu@lemmy.world
    link
    fedilink
    English
    arrow-up
    81
    ·
    1 year ago

    Wouldn’t it be better to integrate with the existing federated video hosting service? (PeerTube) so basically host videos in PeerTube, link to Lemmy, make the Lemmy UI parse it as a video with a custom player

    • islandofcaucasus@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      43
      arrow-down
      1
      ·
      1 year ago

      I’m still pretty new here so i don’t know how that works, but I just want to see the random crazy person or fight video between memes and news stories

    • fubo@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 year ago

      Does PeerTube distribute load across instances, like BitTorrent? Or does it assume that the hosting instance has enough bandwidth to support all concurrent users?

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

        PeerTube uses the WebTorrent protocol for its videos, so it does distribute load with everyone currently watching a video helping distribute it to everyone else. Each instance is its own torrent tracker. I’m not sure how I feel about it, because your IP address is visible to anyone else watching the video also.

      • kadu@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 year ago

        I’m going to be honest with you, I have absolutely no idea how it works. And as far as I can see, there are very few instances at the moment.

        Though someone smarter than me could probably answer you by checking the source code, or maybe they even have some documentation written already.

      • eh@nerdbin.social
        link
        fedilink
        arrow-up
        6
        arrow-down
        1
        ·
        1 year ago

        It uses WebTorrent for distribution between viewers watching at the same time which can temporarily help with the load on popular videos, but there still needs to be at least one source instance that’s sharing the video “regularly” (for unpopular or old stuff), which ends up having the same bandwidth issues you’d get with any other video platform.

        • fubo@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Oh, cool. I expect that means that bandwidth costs should scale sublinearly in number of concurrent viewers of the same video — so 1000 people watching the same video should cost less in bandwidth than 100 people watching 10 videos, or 10 people watching 100 videos.

  • Donjuanme@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    Embedded is what you’re looking for I believe, it is currently an imposition (impedance) to host videos on a Lemmy instance.

  • SJ0@lemmy.fbxl.net
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    I’m surprised there doesn’t seem to be any way to display a video at least from another source. It’s common on the mastodon side.

  • Annoyed_🦀 @monyet.cc
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    Weird thing is Lemmy is able to embed mp4 but couldn’t for youtube. c/videos will be awesome with that embed feature.

  • A_Toasty_Strudel@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago

    Just curious, is it not feasible because of the storage space the videos would take up or something to that effect?

    • FartsWithAnAccent@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 year ago

      They could just let us use embed code like this:

      <iframe width=“560” height=“315” src=“https://www.youtube-nocookie.com/embed/oHg5SJYRHA0” title=“YouTube video player” frameborder=“0” allow=“accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share” allowfullscreen></iframe>

      Doesn’t have to be hosted on the instance.

    • eh@nerdbin.social
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Storage space is one issue. Bandwidth (how many TB/mo goes out the server) is another. And for any “serious” use case transcoding would also be important (so you can keep the other two down for everyone except Apple users who are stubborn to adopt VP9/AV1, and to provide multiple quality options), which unlike the other two requires powerful hardware most instances do not have.

  • HardlightCereal@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    You don’t have to host a video to embed it. YouTube has a video player that can be run on other websites.

  • Tebza255@lemm.ee
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    1 year ago

    That’s the only reason why I keep on going back to reddit.

      • ℕ𝕖𝕞𝕠@slrpnk.net
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        Because it’s a data hog for mobile users, but mostly because it’s intrusive to the browsing experience.

        • ekky43@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 year ago

          So having an image/thumbnail with a “play” button is intrusive? I can see how some people might find it annoying (or perhaps even intrusive), but we already have embedded images which are exactly the same until pressed.

            • ekky43@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              That’s fair.

              In that case, perhaps you (if you find it annoying enough) could open a feature request ticket on your favorite app to “Add option to disable inline/embedded Media”. It appears that you are not the only one with this issue, and I don’t mind having a more complete user experience with more options.

    • JakenVeina@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      If there’s enough people that find it useful, it could at least be an optional setting. It’s really a client thing, though, nothing to do with Lemmy itself.