Music has always been a major part of my life. It just made sense to create an audio player extension for one of my favorite website softwares at this time, Flarum.
Inline Audio


A Flarum extension. Automatically convert audio URLs or links into minimal inline audio players (makes link play audio on click instead of opening in a new tab). **If you want to display an advanced player with controls, use the [player] BBCode.** This uses a popular JavaScript audio API called SoundManager 2. SoundManager 2 provides simple, reliable cross-platform audio under a single JavaScript API.

To use the advanced player you will need to use a BBCode. Here is an example:
[player artist=optional title=optional]URL[/player]
Known quirk which doesn't matter much: Right after posting/editing the players won't work, just refresh the page. Don't worry, members/visitors will not have to refresh the page.
Installation
composer require zerosonesfun/flarum-inline-audio
Updating
composer update zerosonesfun/flarum-inline-audio
Links