yannisme / flarum-ext-acgembed
在社区中可添加网易云,A/B站等媒体内容
Fund package maintenance!
i.loli.net/2020/02/16/psaBu6RIWlfLvY7.png
i.loli.net/2020/02/24/TrR8ZY2VsthAmUl.png
Installs: 231
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 5
Type:flarum-extension
Requires
- flarum/core: *
README
Acgembed
A Flarum extension**(Not yet tested with beta14)**. Add Niconico, ACFUN, Bilibili, Xiami music, Netease cloud music in mediaembed
v0.1ACFUN and Bilibili↓
ACFUN
以https://www.acfun.cn/v/ac12809987 来发acfun视频(不支持分p)
Post ACFUN videos as https://www.acfun.cn/v/ac12809987 (Multi pages are not supported)
Bilibili
以https://b23.tv/av12450(如需发分p的第3p,请在av号后面加/p3)
Post as https://b23.tv/av12450 (For page3, add a /p3 after /av12450)
或https://www.bilibili.com/video/av12450(如需发分p的第3p,请在av号后面加?p=3)
Or as https://www.bilibili.com/video/av12450 (For page3, add a ?p=3 after /av12450)
或https://acg.tv/av12450 (如需发分p的第3p,请在av号后面加?p=3)
Or as https://acg.tv/av12450 (For page3, add a ?p=3 after /av12450)
来发bilibili视频
注:教程以ac12809987和av12450为例,请换成具体要发视频的ac/av号 PS: Remember to replace ac12809987 and av12450 into the ac/av id that you are posting https://imgur.com/SCYqKOT
v0.1↑
v0.2
v0.3
v0.3.1
v0.4
v0.5
Installation
composer:
composer require lcinhk/flarum-ext-acgembed
Updating
composer require lcinhk/flarum-ext-acgembed
And clear the cache(php flarum cache:clear
or clear from the admin panel)
然后清除缓存(php flarum cache:clear
或从管理面板清除)
Sponsor
Links
Inspired by flarum-bbcode-bilibili and flarum-ext-mediaembed-pro