JoshyPHP d1a8lo24 I am not sure if your extension has it No, it only handles specific, preconfigured websites. You'd need a different extension for that. There's currently no plugin that does that in my library either.
Marius I've just tried installing this on a test instance of Flarum but it isn't appearing in my Extensions list for some reason. Downloaded the latest update, unzipped, put the folder into the Extensions directory...but it doesn't show up in the Admin interface. Any idea why?
JoshyPHP Marius Any idea why? None whatsoever. FWIW I've just tried the 0.2.1 archive and it works for me. You should have a s9e-mediaembed directory in your extensions directory. Inside of it there should be a bootstrap.php file and a flarum.json file.
Marius JoshyPHP That all seems to be correct... Here's the directory: And yet in the admin interface, I see no sign of it:
JoshyPHP Marius That seems correct. Are you sure you're looking at the correct directory? You should test whether you can access the files via the webserver. For example my test forum is at http://localhost/flarum/ and I can access the flarum.json file via http://localhost/flarum/extensions/s9e-mediaembed/flarum.json
Marius I think it was a permission error—all is working now, thank you very much for the swift answer 🙂
blai Hello, Marius I am running into the same issue you were where I have downloaded the extension and installed it but the extension does not appear on my list of extensions. Could you please tell me how you fixed this issue, or if anyone else had this issue, please let me know how you fixed it. Thank you!
flame flame I failed pretty hard with this code: https://github.com/flame05/flarum-mediaembed If you install and try to use it will crash your server (500 error)
JoshyPHP flame The extension is not extendable itself, but you can configure the s9e\TextFormatter library. There are some examples in the table of contents there: http://s9etextformatter.readthedocs.org/Plugins/MediaEmbed/Synopsis/
vargmal JoshyPHP nice extension and it works flawlesly... Would it be possible to add a bbcode for jwplayer or flowplayer for rtmp links? ...and then for us to just add the link we want manually? googled a little and found this http://stackoverflow.com/questions/12047187/vbulletin-custom-bbcode-flowplayer-and-rtmp
JoshyPHP vargmal I don't have any plans for a generic video player. Your best bet would be to either write your own extension that creates a custom BBCode or wait for someone to write an extension that manages custom BBCodes.
JoshyPHP It should work with beta-4. It works on my local installation and I'm like 99% sure it's beta-4. Either way the best way to find out is to install it yourself. composer require s9e/flarum-ext-mediaembed
jordanjay29 BlackSheep A few other extensions broke on Beta4, it's best to assume caution until the extension owner (or some adventurous soul, including yours) clears it for use.
Ignivis Doesn't work on beta4 - POST domain.com/api/extensions/s9e-ext-mediaembed { "errors": [ { "status": "405", "code": "method_not_allowed" } ] }
JoshyPHP Ignivis That looks like an error message. I don't know where it's from or how to reproduce it. I'll just assume this is unrelated.
Toby Ignivis That error means you're using an outdated version of the admin JavaScript, which is sending the incorrect "fake HTTP method override" header. This implies that you're using a dev version rather than beta 4. If you're doing this intentionally, then you will need to manually recompile the JavaScript. If not, make sure "minimum-stability" is set to "beta" in your composer.json file and run composer update... or just try doing a fresh installation.
Ignivis JoshyPHP This error pops up when I'm trying to install ext-mediaembed in the admin panel. All the other extensions works fine, but they already been installed before I upgraded to beta4 today, but ext-mediaembed I'm trying to install for the first time now.
DmitriVoloshin Ignivis This error pops up when I'm trying to install ext-mediaembed in the admin panel. All the other extensions works fine, but they already been installed before I upgraded to beta4 today, but ext-mediaembed I'm trying to install for the first time now. And?