This is a wrapper widget for AudioJs Javascript player audiojs
Requirements ¶
Yii 2.x
Usage ¶
Installation
The preferred way to install the Yii framework is through composer.
Either run > php composer require --prefer-dist "hosannahighertech/yii2-audiojs *"
or add > "hosannahighertech/yii2-audiojs": "*"
to the require section of your composer.json.
use hosanna\audiojs\AudioJs;
AudioJs::widget([
'files'=>$filename, //Full URL to Mp3 file here or array of urls
]);
Resources ¶
The Player Implements basic player (supporting multiple files). If there is anything you want, please open issue at github account
User Contributed Notes
Leave a comment
If you have any questions, please ask in the forum instead.
Join the conversation to share a note.