mediaelement HTML5 audio & video player using mediaElement JS library

  1. Requirements
  2. Usage

This ext allow you to add HTML5 audio and video player using mediaElement JS library to you Yii project.

Its using latest code from http://mediaelementjs.com/.

Requirements

Yii 1.1 or above

Usage

Just use the widget anywhere in your view code.

$this->widget ( 'ext.mediaElement.MediaElementPortlet',
	array ( 
	'url' => 'http://www.toxsl.com/test/bunny.mp4',
// or you can set the model and attributes
	//'model' => $model,
	//'attribute' => 'url'
// its required and so you have to set correctly
	// 'mimeType' =>'audio/mp3',
	
	));
3 0
12 followers
1 294 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: shiv
Created on: Apr 1, 2013
Last updated: 6 years ago

Downloads

show all

Related Extensions