localhost That's a plain picture and not a tweet - perhaps autoimage would insert it as an image, but probably not. I assume you'll have to use the Markdown/BBCode necessary to insert the image.

5 days later

troymccann Sorry all, I forgot to come back.

Looked like Firefox was blocking it due to the Enhanced Tracking Protection feature, which was still activated in incognito mode.

18 days later

Is there a simple function call I can make from the extension I'm building to turn youtube/vimeo links into <video> links or embed code? Since the thing I'm building is in the header, outside the rest of the app, the text I'm outputting isn't filtered like everything else. There are a couple public functions in the Formatter Configurator class - would one of those work?

    raafirivero If what you're putting is in the header, can't you just take the video URL and manually transform it into an embed?
    If you don't want to do that, perhaps check out how fof/pages formats it's non HTML page content.

      datitisev sometimes the video will be YouTube and sometimes Vimeo. I figured out a different way - wrote a switcher that uses oEmbed to get it from the service and plops it into a div with m.trust()

      5 days later

      Hello everyone Guys, can I add an iframe tag ? well, for example, for music, I use Vkontakte, and having compiled a playlist, I would like to be able to share it on the forum ... PS If You are not going to do this, tell me what files to edit))) For example, elementary in Vkontakte there are export links, just that the script would understand

      How to use ascii style tables? i tried the generated one from google and it does not showing any table

      24 days later

      Any idea why Youtube video is not working?

      • Hari replied to this.
        5 days later

        Is there any support in markdown embed for free sound upload service without soundcloud.

        @datitisev I can't share clyp.it audio files on flarum. But that is working on Discourse. Souncloud gives 180 minutes upload, and I could not find another free audio upload service out of clyp.it . Google drive auido embed's appearence is not good.

        example: https://llllllll.co/t/help-out-embed-tutorial/3971/20

          fakruzaruret You should be able to activate them yourself using an extend.php in the Flarum root that looks something like this (untested, should work)

          <?php
          
          use Flarum\Extend;
          use s9e\TextFormatter\Configurator;
          
          return [
              (new Extend\Formatter())
                  ->configure(function (Configurator $configurator) {
                      $configurator->MediaEmbed->add('audiomack');
                  }),
          ]

            datitisev does not work. May be it is related with s9e is not upated for audiomack. Now solved my problem with Vocaroo it is woking on flarum.

              datitisev I cleared, and you forget to put to end of the code ; so I get 500 error 🙂 I have tried some things but I could not it.

                fakruzaruret If you put the ; after the ] does it still not work? Remember that you have to edit existing posts / create new ones for the new formatting rules to apply.

                  datitisev Yes it does not work after put " ; " . Also it gives 500 error if I remove ";". I created new discussion after clear cache and still does not work.