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.

        datitisev Actually this appears to be an issue with Flagrow Upload extension... they have a download template for uploads and it appears there isn't a download template that just displays a URL for the MP4. Trying to resolve this now... I'll update shortly.

        23 days later

        We are using the formatting plugin on our forum and it is a really good appreciated plugin!

        Only thing i notice now that in the supported sources documentation Stitcher is mentioned, but the forum doesnt seem to integrate it (it just posts it as an URL)

        Edit: also curious if someone has an example which enables/disables specific mediaembedd options.
        i noticed the imgur "problem" on our own forums, but since we support the upload pluging users mostly just upload to our forums so it is not a big problem.

          Powermage It might have to do with an old version of s9e/TextFormatter being used by Flarum. As this extension simply enables existing TextFormatter plugins (which are all linked in the settings modal), there's not much that can be done in this extension without over-complicating it.

            datitisev Yep, by experience there's no easy way to edit the plugin haha, at least what is in documentation isn't working.

            5 days later
            23 days later

            Idk what's wrong but i can't automatically turns image links into images with this extension.

            PHP version: 7.2.19-0ubuntu0.18.04.2
            Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, sodium, session, standard, mysqlnd, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, i
            conv, intl, json, exif, mysqli, pdo_mysql, Phar, posix, pspell, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Zend OPcache
            +----------------------------------+-----------------+--------+
            | Flarum Extensions | | |
            +----------------------------------+-----------------+--------+
            | ID | Version | Commit |
            +----------------------------------+-----------------+--------+
            | flarum-bbcode | v0.1.0-beta.8 | |
            | flarum-emoji | v0.1.0-beta.8 | |
            | flarum-flags | v0.1.0-beta.9 | |
            | flarum-lock | v0.1.0-beta.9 | |
            | flarum-markdown | v0.1.0-beta.9 | |
            | flarum-subscriptions | v0.1.0-beta.9 | |
            | flarum-suspend | v0.1.0-beta.9 | |
            | flarum-tags | v0.1.0-beta.9 | |
            | flagrow-upload | 0.7.1 | |
            | fof-links | 0.2.1 | |
            | fof-pages | 0.2.7 | |
            | fof-formatting | 0.1.2 | |
            | flarum-pusher | v0.1.0-beta.9 | |
            | kvothe-keyboard-shortcuts | v0.1.0 | |
            | fof-user-bio | 0.1.2 | |
            | flarum-lang-english | v0.1.0-beta.9 | |
            | fof-transliterator | 0.1.1 | |
            | flarum-statistics | v0.1.0-beta.9 | |
            | reflar-webhooks | 0.1.7 | |
            | migratetoflarum-canonical | 0.1.0 | |
            | isaced-email-verification-switch | 0.1.3 | |
            | reflar-nightmode | 0.2.0 | |
            | v17development-seo | 1.0.2 | |
            | flagrow-sitemap | 0.2.0 | |
            | reflar-doorman | 0.1.4 | |
            | fof-polls | 0.1.1 | |
            | flarum-likes | v0.1.0-beta.9 | |
            | flarum-mentions | v0.1.0-beta.9 | |
            | amaurycarrade-syndication | v0.2.0 | |
            | tolgaaaltas-turkish | 0.1.10.7 | |
            | flagrow-html-errors | 0.2.0 | |
            | fof-merge-discussions | 0.3.1 | |
            | fof-split | 0.4.3 | |
            | fof-ignore-users | 0.1.4 | |
            | fof-drafts | 0.1.3 | |
            | fof-socialprofile | 0.1.1 | |
            | madraka-lang-turkish | v0.1.0-beta.8.1 | |
            | jordanjay29-summaries | 0.3.1 | |
            | noriods-auto-more | 0.3.0 | |
            | fof-secure-https | v0.1.0 | |
            | squeevee-fancybox | 0.2-beta | |
            +----------------------------------+-----------------+--------+

            Next Symfony\Component\Translation\Exception\InvalidResourceException: Error parsing YAML, invalid file "/home/zincirsiz/web/zincirsiz.net/public_html/vendor/reflar/doorman/resources/locale/tr.yml" in /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Loader/YamlFileLoader.php:50
            Stack trace:
            #0 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Loader/FileLoader.php(36): Symfony\Component\Translation\Loader\YamlFileLoader->loadResource('/home/zincirsiz...')
            #1 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Locale/PrefixedYamlFileLoader.php(23): Symfony\Component\Translation\Loader\FileLoader->load('/home/zincirsiz...', 'tr', 'messages')
            #2 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(381): Flarum\Locale\PrefixedYamlFileLoader->load(Array, 'tr', 'messages')
            #3 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(277): Symfony\Component\Translation\Translator->doLoadCatalogue('tr')
            #4 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(314): Symfony\Component\Translation\Translator->initializeCatalogue('tr')
            #5 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(299): Symfony\Component\Translation\Translator->dumpCatalogue('tr', Object(Symfony\Component\Config\ConfigCache))
            #6 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/config/ConfigCacheFactory.php(46): Symfony\Component\Translation\Translator->Symfony\Component\Translation{closure}(Object(Symfony\Component\Config\ConfigCache))
            #7 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(300): Symfony\Component\Config\ConfigCacheFactory->cache('/home/zincirsiz...', Object(Closure))
            #8 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(265): Symfony\Component\Translation\Translator->initializeCacheCatalogue('tr')
            #9 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(241): Symfony\Component\Translation\Translator->loadCatalogue('tr')
            #10 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Locale/Translator.php(35): Symfony\Component\Translation\Translator->getCatalogue('tr')
            #11 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/symfony/translation/Translator.php(198): Flarum\Locale\Translator->getCatalogue('tr')
            #12 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Api/Serializer/GroupSerializer.php(66): Symfony\Component\Translation\Translator->trans('core.group.admi...')
            #13 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Api/Serializer/GroupSerializer.php(53): Flarum\Api\Serializer\GroupSerializer->translateGroupName('Admin')
            #14 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(86): Flarum\Api\Serializer\GroupSerializer->getDefaultAttributes(Object(Flarum\Group\Group))
            #15 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/tobscure/json-api/src/Resource.php(169): Flarum\Api\Serializer\AbstractSerializer->getAttributes(Object(Flarum\Group\Group), NULL)
            #16 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/tobscure/json-api/src/Resource.php(75): Tobscure\JsonApi\Resource->getAttributes()
            #17 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/tobscure/json-api/src/Document.php(187): Tobscure\JsonApi\Resource->toArray()
            #18 [internal function]: Tobscure\JsonApi\Document->Tobscure\JsonApi{closure}(Object(Tobscure\JsonApi\Resource))
            #19 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/tobscure/json-api/src/Document.php(188): array_map(Object(Closure), Array)
            #20 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/tobscure/json-api/src/Document.php(224): Tobscure\JsonApi\Document->toArray()
            #21 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Api/JsonApiResponse.php(29): Tobscure\JsonApi\Document->jsonSerialize()
            #22 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(113): Flarum\Api\JsonApiResponse->__construct(Object(Tobscure\JsonApi\Document))
            #23 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Api/Client.php(71): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Zend\Diactoros\ServerRequest))
            #24 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Frontend/Frontend.php(76): Flarum\Api\Client->send(Object(Flarum\Api\Controller\ShowForumController), Object(Flarum\User\User))
            #25 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Frontend/Frontend.php(53): Flarum\Frontend\Frontend->getForumDocument(Object(Zend\Diactoros\ServerRequest))
            #26 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Frontend/Controller.php(34): Flarum\Frontend\Frontend->document(Object(Zend\Diactoros\ServerRequest))
            #27 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/RouteHandlerFactory.php(40): Flarum\Frontend\Controller->handle(Object(Zend\Diactoros\ServerRequest))
            #28 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(67): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Zend\Diactoros\ServerRequest), Array)
            #29 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\DispatchRoute->process(Object(Zend\Diactoros\ServerRequest), Object(Closure))
            #30 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flagrow/html-errors/src/Middlewares/HandleErrors.php(18): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #31 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flagrow\HtmlErrors\Middlewares\HandleErrors->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #32 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/fof/secure-https/src/Middlewares/ContentSecurityPolicyMiddleware.php(21): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #33 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): FoF\SecureHttps\Middlewares\ContentSecurityPolicyMiddleware->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #34 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/migratetoflarum/canonical/src/Middlewares/CanonicalRedirectMiddleware.php(46): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #35 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): MigrateToFlarum\Canonical\Middlewares\CanonicalRedirectMiddleware->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #36 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(58): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #37 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\ShareErrorsFromSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #38 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #39 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\SetLocale->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #40 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(25): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #41 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #42 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(34): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #43 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #44 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #45 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\RememberFromCookie->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #46 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/StartSession.php(62): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #47 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\StartSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #48 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(48): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #49 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\CollectGarbage->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #50 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(29): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #51 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\ParseJsonBody->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #52 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Middleware/HandleErrorsWithWhoops.php(43): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #53 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Flarum\Http\Middleware\HandleErrorsWithWhoops->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #54 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(83): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #55 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/middlewares/request-handler/src/RequestHandler.php(84): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #56 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Middlewares\RequestHandler->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #57 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #58 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Middlewares\BasePathRouter->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #59 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Middleware/OriginalMessages.php(41): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #60 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Zend\Stratigility\Middleware\OriginalMessages->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #61 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/middlewares/base-path/src/BasePath.php(53): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #62 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/Next.php(60): Middlewares\BasePath->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
            #63 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(83): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
            #64 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(72): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\EmptyPipelineHandler))
            #65 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(95): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
            #66 /home/zincirsiz/web/zincirsiz.net/public_html/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run()
            #67 /home/zincirsiz/web/zincirsiz.net/public_html/public/index.php(22): Flarum\Http\Server->listen()
            #68 {main}

            P.S. Other features works well.

              tolgaaaltas A few things:

              1. Autoimage only works with a few specific file extensions
              2. This extension simply enables existing formatter plugins, it does not create them
              3. Sometimes changes only apply after saving posts, and other times they don't apply at all 🤷‍♂️ even after clearing the cache multiple times
              4. That exception is not related to formatting, but rather reflar/doorman.

              Hello everyone, I am running BETA 9 on PHP 7.3 and I am struggling to get embedded auto reproduction running.
              I would like the following to be working:

              • autoimage (for external urls being posted)
              • embedded autovideo
              • embedded autoaudio
                After installing FoF/formatting, the extension appears in bazaar, however, there is no further option for configuration.
                I am unable to find the toggle options posted in this thread!

              Where am I supposed to find those options?
              There is no tab within the admin dashboard that allows further configuration...

              Best regards

                capecarlo You can access the options by clicking on the 3 dots right next to "FoF Formatting" in the Extensions dashboard page. From there, click settings to open the modal that contains the extension settings.

                  datitisev
                  Thank you for your response.
                  I found the gear icon in the admin dashboard that would open the configuration, after clearing the cache it finally worked.
                  The 3 dots I found in Bazaar on FoF Formatting would only offer disabling​/uninstalling it.
                  I am still working on enabling direct audio urls (e.g.: http://www.largesound.com/ashborytour/sound/brobob.mp3) , but I guess that would require some major extension/plugin

                  Hi guys,

                  Little question regarding the mediaembed function.
                  My forum is full french and Facebook are integrated in english (button, date, translation, etc...)

                  Is there any way to simply adapt the language ? according the forum language may be ?

                  Thanks for your answers.

                    ComUneInfo You'd most likely have to modify the MediaEmbed plugin... we don't code them, just enable them. You can probably edit the embeds, not sure how you'd make every site your locale though.

                    It seems that the plugin call an external link to generate the frame content:
                    https://s9e.github.io/iframe/2/facebook.min.html#{@type}{@id} (Git) then this page call the us version of Facebook components: //connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5

                    I found it in CachedDefinitionCollection.php:

                    'facebook'=>[
                    	'attributes'=>[],
                    	'example'=>[
                    		'https://www.facebook.com/FacebookDevelopers/posts/10151471074398553',
                    		'https://www.facebook.com/video/video.php?v=10150451523596807',
                    		'https://www.facebook.com/photo.php?fbid=10152476416772631',
                    		'https://www.facebook.com/ign/videos/10153762113196633/',
                    		'https://www.facebook.com/southamptonfc/videos/vb.220396037973624/1357764664236750/'
                    	],
                    	'extract'=>[
                    		'@/(?!(?:apps|developers|graph)\\.)[-\\w.]*facebook\\.com/(?:[/\\w]+/permalink|(?!pages/|groups/).*?)(?:/|fbid=|\\?v=)(?\'id\'\\d+)(?=$|[/?&#])@',
                    		'@facebook\\.com/(?\'user\'\\w+)/(?\'type\'post|video)s?/@',
                    		'@facebook\\.com/video/(?\'type\'post|video)\\.php@'
                    	],
                    	'homepage'=>'https://www.facebook.com/',
                    	'host'=>['facebook.com'],
                    	'iframe'=>[
                    		'data-s9e-livepreview-ignore-attrs'=>'style',
                    		'onload'=>'var c=new MessageChannel;c.port1.onmessage=function(e){{style.height=e.data+\'px\'}};contentWindow.postMessage(\'s9e:init\',\'https://s9e.github.io\',[c.port2])',
                    		'src'=>'https://s9e.github.io/iframe/2/facebook.min.html#{@type}{@id}'
                    	],
                    	'name'=>'Facebook',
                    	'scrape'=>[],
                    	'tags'=>['social']
                    ],

                    The fact is that this page is common for all those who use the plugin, may be i can try to create my own iframe page and change link in CachedDefinitionCollection.php

                    The only evolution i can see is to deploy frame pages on the package instead of a public website, it will be more customizable but maybe it's like that for a specific reason i don't know.