Skip to content
Yii wrapper around Jouele player - a beautiful audio player for the web
JavaScript PHP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets
Jouele.php
README.md
README_ru.md

README.md

Yii Jouele Widget

Wrapper around Jouele player - a beautiful audio player for the web

Installation

Unpack to protected/extensions.

Usage

Using with a model

$this->widget('ext.jouele.Jouele', array(
    'file' => $model->file,
    'name' => $model->name,
    'htmlOptions' => array(
        'class' => 'jouele-skin-silver',
     )
));

Using with a string

$this->widget('ext.jouele.Jouele', array(
    'file' => '/patch/to/file.mp3',
    'name' => 'The Black Keys - Lonely Boy',
    'htmlOptions' => array(
        'class' => 'jouele-skin-silver',
     )
));

Changelog

v0.1

  • Initial version.
Something went wrong with that request. Please try again.