It's minimal; no controls. Simply click to play, click again to pause. If you prefer a HTML5 player with controls, my BBBBcode extension includes an audio bbcode. Or, use my separate audio bbcode extension. You may use this SM2 extension and one of the bbcode versions together if you want; give your members the freedom to choose which type of player they will include in their post.
What you type/paste into your post (either the URL only, or create a link):
On mobile, long titles or URLs will be cut off nicely with three dots at the end:
Dark mode friendly:
Light mode friendly:
The player will not appear immediately after you edit a post. But, it will appear for the next person who comes along, and it will appear for you as well if you refresh the page, as well as every time after that.
composer require zerosonesfun/flarum-ext-sm2
composer update zerosonesfun/flarum-ext-sm2
2) Deactivate and reactivate the extension in your admin. This refreshes important files.
3) Go to your dashboard, click tools, click clear cache.
4) Clear your browser cache, and any other caches like Cloudflare, if applicable.
composer remove zerosonesfun/flarum-ext-sm2
Simply paste your audio URL into a post. Or, create a link to an audio URL using BBcode or Markdown. For example (markdown):
Now go forth and spread music across your Flarums.