Formatting by FriendsOfFlarum

License Latest Stable Version Downloads

Extiverse

Customize TextFormatter with plugins through the admin interface.

An alternative to s9e/flarum-ext-autovideo, s9e/flarum-ext-autoimage, s9e/flarum-ext-mediaembed, and s9e/flarum-ext-fancypants.

Installation

Use Bazaar or install manually with composer:

composer require fof/formatting

Updating

composer update fof/formatting

Removing

You may need to clear the cache for the formatter to stop using the plugins.

Links

An extension by FriendsOfFlarum, commissioned by webdeveloper.com.

    What happens to all the pictures/videos if the extension is turned off?

      9 days later

      0.1.1

      • Fixed flarum/core version requirement

      Updating

      composer require fof/formatting ^0.1.1
        9 days later

        Does anyone have a problem with mp4 video URLs converting to nothing but blank space? Or is that just me? Maybe I have an extension conflict or a little troll living in my server.

          010101 This extension only enables TextFormatter plugins. What plugins do you have enabled? I can't remember what extension I tested, but the video I tested did work just fine. Are there any errors in the JS console?

            Hello! I'm wondering which is the difference between s9-MediaEmebd and this extension? or is the same?

              neogeo The mediaembed extension enables the MediaEmbed plugin in TextFormatter. This extension let's you enable MediaEmbed and more plugins that exist in TextFormatter, such as Autoimage and Autovideo.

              The functionality is the same, but here you can enable more than just one plugin per extension, and let's you enable some more plugins as well.

              datitisev Could be a iOS Google Chrome issue. I had trouble getting a .mov video to play on another site just now. YouTube videos embed just fine. I’m going to blame the browser for now and move on.

              a month later

              jordanjay29 I feel like I'm being dumb, but your message is not registering in ma brain 🤦‍♂️. Could you clarify, please? 😂

                datitisev There's a lot of user requests for specific sites in that thread. If JoshyPHP marks his mediaembed extension abandoned in favor of yours, those requests are likely to come here (see the example above).

                If you're not going to support them, it'd be best to decide now before you have a flood of them. 😉

                  jordanjay29 Ah, I see. The issue is that I haven't decided what to do yet. I wanted to keep this extension simple, but if I start adding configuration options, then I can also add other plugins that require configuration.

                    datitisev on one hand I think keeping it simple is best in terms of our goals for FoF, however I also believe that playing the quality proxy with the textformatter library will pay off in the long run, what do you think?

                    For YouTube embed videos extension:

                    I think would be cool and more clean if you can remove the related videos with the ?rel=0 or &rel=0 parameter.