I can’t found it how can I post embedded videos or posts from social media sites, like on Reddit or other similar sites.

  • CritiGalDesist∞@lemmygrad.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    2 years ago

    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.

      • Alex@feddit.de
        link
        fedilink
        arrow-up
        6
        ·
        2 years ago

        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

          • Alex@feddit.de
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 years ago

            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

            • Alex@feddit.de
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              this would have to be the same on all instances for federated articles to work, so that would be a problem

  • cout
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    2 years ago

    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.

  • nachtigall@feddit.de
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    2 years ago

    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)

    • VityolaOP
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      2 years ago

      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.

      • Alex@feddit.de
        link
        fedilink
        arrow-up
        4
        ·
        2 years ago

        it is a balance between security and usability, I assume it leans more towards security

        • Alex@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          i wonder if it would work to remove the CSP header with a header extension though

        • OsrsNeedsF2P
          link
          fedilink
          arrow-up
          7
          ·
          2 years ago

          Making sure Lemmy never takes off any%

          Tell people they need to install an extension to make Lemmy usable