zerosonesfun/flarum-bbcode-audio

This package is abandoned and no longer maintained. No replacement package was suggested.

Audio BBCode.

Fund package maintenance!
Website

Installs: 1 525

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 2

Open Issues: 0

Type:flarum-extension

3.1.3 2022-03-08 16:12 UTC

This package is auto-updated.

Last update: 2023-09-08 19:25:47 UTC


README

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