zzzz0317 / flarum-ext-mediaembed
自动识别第三方网站的媒体(图片、视频、音频)并内嵌到 Flarum 。
Installs: 45
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- php: >=5.4.0
- flarum/core: ^0.1.0-beta.3
This package is not auto-updated.
Last update: 2024-05-06 06:59:04 UTC
README
自动识别第三方网站的媒体(图片、视频、音频)并内嵌到 Flarum 。
安装
composer require zzzz0317/flarum-ext-mediaembed
自动识别图片链接
- 直接插入图片链接即可。
支持自动识别媒体的网站
-
YouTube
-
网易云音乐
-
哔哩哔哩
测试通过的链接格式
https://www.bilibili.com/video/av7/
https://www.bilibili.com/video/av7
https://music.163.com/#/song?id=22677433
https://www.youtube.com/watch?v=92rYjlxqypM
请注意链接格式
支持
开发参考
https://github.com/c78/flarum-ext-mediaembed-https
https://github.com/s9e/flarum-ext-mediaembed/
https://github.com/s9e/TextFormatter/blob/master/docs/Plugins/MediaEmbed/Add_custom.md