zephyrisle/fof-formatting-pro
Composer 安装命令:
composer require zephyrisle/fof-formatting-pro
包简介
Enhanced Flarum formatting extension with audio support, Chinese platforms (NetEase Cloud Music, Bilibili), and custom audio CSS
README 文档
README
A Flarum extension. Enhanced formatting with audio support, Chinese platforms (NetEase Cloud Music, Bilibili), and custom audio CSS.
Features
- Auto Audio: Convert audio URLs into HTML5 audio players
- NetEase Cloud Music: Embed content from NetEase Cloud Music (网易云音乐)
- Bilibili: Embed content from Bilibili (哔哩哔哩)
- Custom Audio CSS: Customize the appearance of audio players with custom CSS
Installation
Install with composer:
composer require zephyrisle/fof-formatting-pro:"*"
Updating
composer update zephyrisle/fof-formatting-pro
Configuration
After installation, go to the Admin Panel > Extensions > Formatting Pro to configure:
- Auto Audio: Enable to convert audio URLs to HTML5 audio players
- NetEase Cloud Music: Enable to embed NetEase Cloud Music content
- Bilibili: Enable to embed Bilibili content
- Custom Audio CSS: Enter custom CSS to style audio players
Usage
Auto Audio
Simply post an audio URL in a post, and it will be automatically converted to an HTML5 audio player:
https://example.com/audio.mp3
NetEase Cloud Music
Share NetEase Cloud Music links to embed them in posts:
https://music.163.com/#/song?id=123456
Bilibili
Share Bilibili video links to embed them in posts:
https://www.bilibili.com/video/BV1xx411c7mD
Custom Audio CSS
Use the custom CSS field to style audio players. Example:
audio { border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); background: #f5f5f5; }
Links
Requirements
- Flarum 2.0+
License
MIT
Credits
Based on FoF Formatting by FriendsOfFlarum.
An extension by zephyrisle.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-29