zephyrisle/fof-formatting-pro

Enhanced Flarum formatting extension with audio support, Chinese platforms (NetEase Cloud Music, Bilibili), and custom audio CSS

Maintainers

Package info

github.com/Zephyr-Isle/fof-formatting-pro

Type:flarum-extension

pkg:composer/zephyrisle/fof-formatting-pro

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.2 2026-06-29 05:36 UTC

This package is auto-updated.

Last update: 2026-06-30 10:19:06 UTC


README

License Latest Stable Version

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:

  1. Auto Audio: Enable to convert audio URLs to HTML5 audio players
  2. NetEase Cloud Music: Enable to embed NetEase Cloud Music content
  3. Bilibili: Enable to embed Bilibili content
  4. 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.