Audio BBCode

Audio BBCode.

Compatible with Flarum v1.4.1

Latest release 3.1.3

1,226 downloads

released on Oct 15, 2019

Tags

Audio BBCode

A Flarum extension. Adds an [audio] BBCode. Can be used with Friends of Flarum Upload extension. If used with Upload extension, set up audio rules and choose the Audio template.

Usage

[audio mp3=song.mp3 ogg=song.ogg]
[audio mp3=song.mp3]
[audio ogg=song.ogg]
[audio m4a=song.m4a]
[audio wav=song.wav]
[audio flac=song.flac]
[audio webm=song.webm]
[audio mp3=song.mp3 width=50]
[audio mp3=song.mp3 download=download]

(You may put a mp3 and ogg file together for maximum browser compatibility, or just post a mp3, ogg, wav, flac, webm or m4a file alone. Optionally set the width and/or allow downloads. The download attribute only works in certain browsers, most notably Chrome.)

Install

composer require zerosonesfun/flarum-bbcode-audio:"*"

Update

composer update zerosonesfun/flarum-bbcode-audio:"*"
php flarum cache:clear

Uninstall

composer remove zerosonesfun/flarum-bbcode-audio
php flarum cache:clear

Links

© 2022 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.