2nrwls/audio
最新稳定版本:v3.0
Composer 安装命令:
composer require 2nrwls/audio
包简介
Audio BBCode.
README 文档
README
A Flarum extension. Adds an [audio] BBCode. This is a fork of the original which disallows downloads by default. This was created by request.
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"]
(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. Also, as the last example shows, you may modify the width. The width will become a percentage and by default, if you choose not to declare a width, the player will be 100% width.)
Installation
composer require 2nrwls/audio:"*"
Updating
composer update 2nrwls/audio:"*"
php flarum cache:clear
Links
统计信息
- 总下载量: 1.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-09-18