Yii 1.1: jouele-widget

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

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.

Total 9 comments

#17433 report it
Trejder at 2014/06/11 08:23am
@prashanth.n

Maybe because these formats neither are not part of HTML5 nor are supported by Flash?

This widget is a simple wrapper for jouele player, which is based on jPlayer. Take a look here ("Media Support" section) to find out, which formats are supported by which platform of jPlayer.

In general:

  • HTML5: mp3, mp4 (AAC/H.264), ogg (Vorbis/Theora), webm (Vorbis/VP8), wav.
  • Flash: mp3, mp4 (AAC/H.264), rtmp, flv.

You're allowed to use only formats, that are supported by any of above engine (for cross-browser support, use a format, that is supported by both of these engines).

Formats (extensions) listed by you (wma, wmv, mpeg) are proprietary formats of Microsoft are others and are not supported, neither by this, nor by any other HTML5- or Flash-based web-browser player.

#15620 report it
prashanth.n at 2013/11/29 04:05am
why is not supporting the other formats like wma,mpeg and all?

it is supporting for only mp3 files but not for the remaining extensions like wma,wmv ...so on. can i know y? and how can i mak it possible to work for all type of extensions.

#14341 report it
Narender Negi at 2013/08/05 07:04am
It did not work in firefox

This extesnion is good but did not play voice file in firefox

#13494 report it
ruderbytes at 2013/05/31 09:59pm
So Long...

This extension is very good but there are still shortcomings if play music very long duration it will stop itself automatically. so ... is there any suggestion for this extension?

#12679 report it
yiijco at 2013/04/05 02:43am
Thanks Stanislav

Oke ...if you don't mind..I will try recode to make it multi file song..Thanks In Advance

#12678 report it
Stanislav.K at 2013/04/05 02:23am
to yiijco

Hello, one player for one file. Examples on the page http://stanislavkrsv.github.com/yii-jouele-widget/

#12677 report it
yiijco at 2013/04/05 01:51am
excelent

Thanks for Stanislav with this ext. ..it's work for one file song how about more than two song? ..thanks in advance

#10731 report it
hfvoip at 2012/11/20 01:31am
in android ,it cannot display svg ,so I use png,this works

in android ,it cannot display svg ,so I use png,this works

#10638 report it
hfvoip at 2012/11/09 08:48pm
I have one request from android

when I run on android mobile ,I cannot see the sprite (play,pause,download,etc)

and besides that ,if the sprite is 32x32,maybe better

Leave a comment

Please to leave your comment.

Create extension