matteocontrini Hm, yeah, but that probably generates it only for the dev before publishing.

But you are correct, I personally don't think this is in the scope of the extension. And if I ever do add the functionality, it will probably be limited, as allowing all options will most likely confuse regular Flarum users with no coding and/or RegExp knowledge.
Please continue the discussion on adding sites to MediaEmbed at https://discuss.flarum.org/d/18535-add-mannualy-website-for-s9e-mediaembed, thank you 🙂

rob006 I never said I was a software engineer, I do work in PHP in my spare time, however, I am no software engineer, I maintain all the servers and infrastructure for the company, not the code base.

a month later

New to flarum and installed the upload extension yesterday to allow images to be uploaded to imgur.
Today I realised youtube videos are not embedded so installed the formatting extension [https://github.com/FriendsOfFlarum/formatting] with
composer require fof/formatting
went into extensions and enabled it and went into admin to set Autovideo to on, however any youtuve url in a post still remains as just the url and not an embedded video.

Could there be an extension conflict or some other issue?

    ecar Autovideo to on, however any youtuve url in a post still remains as just the url and not an embedded video.

    Autovideo embeds any link with a video extension (.avi, .mp4, .webm) and MediaEmbed embeds video site links (YouTube, Vimeo, etc). Enable MediaEmbed in the Formatting options.

      20 days later
      a month later

      iosmall What do you mean? HTTP image links to not appear as the image itself, just the link?

      There's not much we can do from the current purpose of the extension, which is simply to enable already-existing plugins, so that would be an issue with TextFormatter. However, try clearing your cache first & adding some more text to the post to update it, see if that fixes it.

        datitisev The picture is HTTPS which can be formatted automatically. If the image address is HTTP, it cannot be formatted automatically.

        a month later
        a month later
        8 days later

        Anyone knows a way to disable "imgur" on mediaembed extension?

        Mediaembed gives me the youtube embedding what is great, but most used forum images come from imgur, so it's a conflict with "Autoimage" plugin, and the Mediaembed wins! 😅 And mediaembed gives an horrible border with a "share" button to imgur links.

          010101 So I am also having the same issue and can see that the mp4 url is being rendered as an img tag. This appears to render (be forgiving) ok on Safari but not Chrome. Any other people with this issue??

            Kayo As this extension just enables the mediaembed TextFormatter plugin, you'd have to manually write the code necessary to remove Imgur from MediaEmbed.

            rattler72 That is most likely a MediaEmbed issue with TextFormatter, you might want to create an issue in the TextFormatter GitHub repository.