s9e / flarum-ext-mediaembed Goto Github PK
View Code? Open in Web Editor NEWEmbed third-party content in your Flarum.
License: MIT License
Embed third-party content in your Flarum.
License: MIT License
Hi there,
just wanted to install current flarum and got from your extension it needs flarum beta-8. As far as I know beta-8 is not yet released
I was just thinking โ if someone posts a link to another discussion or post in the same forum, it would be cool to expand it into a little box with the discussion title, post author/avatar, and post content.
Haven't thought much about it beyond that, but just thought I'd drop this idea here before I forget.
All Youku videos went blank on HTTPS forums, because "player.youku.com" does not have SSL support. But actually Youku does support HTTPS, with a different URL.
e.g.
Original link: http://v.youku.com/v_show/id_XMTU0MzMyNjg2NA.html
HTTP player: http://player.youku.com/embed/XMTU0MzMyNjg2NA
HTTPS player: https://players.youku.com/player.php/sid/XMTU0MzMyNjg2NA/v.swf
I think it's better to use the HTTPS player at any time.
I just installed Flarum again from scratch using composer. I believe that puts me at beta4. I downloaded and added this plugin to my extensions folder and it shows up under my admin panel. Then I activated it and posted some youtube links both inside meida tags and outside of them - but they just appear as links.
Am I doing something wrong? What steps can I take to try and debug this further?
Also! Thanks for all the support to Flarum with extensions! I appreciate your efforts.
look this powerful wordpress plugin : https://github.com/bigfa/nm
Thank you very much for the extension.
As far as i can see it only supports bbcode-like syntax at the moment. Flarum does not only support bbcode but also Markdown.
I think it would improve the user experience and make usage more consistent if there was additional syntax that reassembles markdown.
In the CommonMark discussion the following syntax is often suggested:
!video[ title ]( url )
!audio[ title ]( url )
!youtube[ title ]( url )
It is not part of the specification afaik.
So a !media[]()
would fit the markdown style while being consistent with "codeword" for bbcode.
We want to expose people to the idea of using Composer to install extensions. While a zip download is fine for extensions like this without any autoloading stuff, it'd be cool if you could put this up on Packagist and add composer require s9e/flarum-mediaembed
as an alternative method of installation to the README. This would certainly be my preferred method of installation for discuss.flarum.org! And then updates are as easy as composer update
๐
I'm not sure if you can use a different package name on Packagist, but Flarum's Composer installer only truncates a flarum-
prefix from the start, so ideally the package name would be flarum-mediaembed
. That would be installed to extensions/s9e-mediaembed
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.