v0.5
Acgembed
A Flarum extension. Add Niconico/ACFUN/Bilibili/Xiami music and Netease cloud music in mediaembed
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
直接用分享出来的链接发即可
Just use the link.
https://music.163.com/#/song?id=1304754139
以https://nico.ms/sm8628149
Post as https://nico.ms/sm8628149
或https://www.nicovideo.jp/watch/sm8628149
Or as https://www.nicovideo.jp/watch/sm8628149
来发Niconico视频
to post Niconico videos
注:教程以sm8628149为例,请换成具体要发视频的sm号
PS: Remember to replace sm8628149 into the smid that you are posting
v0.3.1+"acg.tv" enhanced for Niconico/ACFUN/Bilibili↓
添加了"acg.tv"对Niconico/ACFUN/Bilibili的支持
Added http://acg.tv/sm8628149, http://acg.tv/ac12809987, http://acg.tv/av12450
```
添加了对BV号和腾讯视频的支持
BVid: Post as https://www.bilibili.com/video/BV18x411c7xA or https://b23.tv/BV18x411c7xA
以https://www.bilibili.com/video/BV18x411c7xA 或https://b23.tv/BV18x411c7xA 来发BV号
v.qq.com 腾讯视频:
Post as https://v.qq.com/x/page/q0939xfj0in.html
以https://v.qq.com/x/page/q0939xfj0in.html 来发腾讯视频
PS: - acg.tv does not support BVid
- acg.tv不支持BV号
v0.5+Xiami music and small improvement↓
添加了对虾米音乐的支持以及小调整
Number id only仅限数字id
https://www.xiami.com/song/1772119304
Small improvement: Auto adjustment slightly changed
小调整:微调了一下自适应
Updating
composer update lcinhk/flarum-ext-acgembed
And clear the cache(php flarum cache:clear
or clear from the admin panel)
然后清除缓存(php flarum cache:clear
或从管理面板清除)
Installation
composer:
composer require lcinhk/flarum-ext-acgembed
Updating
composer update lcinhk/flarum-ext-acgembed
Remember to clear the cache
Links
Inspired by flarum-bbcode-bilibili and flarum-ext-mediaembed-pro