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.
FriendsOfFlarum Formatting
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()
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
Any idea why Youtube video is not working?
- Edited
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
- Edited
fakruzaruret I don't know. The documentation pager for mediaembed (which I assume would be the plugin that embeds stuff like that) has a list of all the services it supports, I think.
EDIT: See https://s9etextformatter.readthedocs.io/Plugins/MediaEmbed/Sites/
datitisev thank you, ı have tried some websites on that list but does not work.
I used audiomack but not working
For example: https://audiomack.com/santi-333/song/birak-beni-haykirayim
fakruzaruret Hm, looks like some sites might need to be activated manually.
datitisev could you activate audiomack too if it is like that
- Edited
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');
}),
]
- Edited
fakruzaruret Oh, forgot to mention you'll need to clear your cache.
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.
- Edited
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.
How can I use pipetables by this plugin? I couldn't use it Although I enabled pipetables feature
datitisev the problem is caused by s9e/Textformatter. They updated by commits.
fakruzaruret thanks