bmvmediaplayer BmvMediaPlayer based on Microsoft Windows Media Player components

  1. Requirements
  2. Usage

BmvMediaPlayer based on Microsoft Windows Media Player components , This media player works on almost all broswer

Requirements

...requirements of using this extension (e.g. Yii 1.1 or above)...

Usage

Download Extension and upload in protected/extension

// View file

<?php

if(is_file($path."/foldername/". $model->filename)) // check whether file exist in foldername or not

		{
				
	$this->widget('ext.bmvmediaplayer.BmvMediaPlayer', array(
    'src'=>Yii::app()->request->baseUrl."/foldername/".$model->filename,
	'fullScreen' =>true,
    'autoSize'=>true,
    'balance'=>1,
    'displaySize'=>1,
	'mute'=>false, // true or false
    'width'=>910,  // set your width as your requirement
	'height'=>700, set your width as your requirement
    'playCount'=>0,
	'rate'=>1.0,
	'showAudioControls' =>true, // true or false
	'showControl'=>true, // true or false
	'showControl'=>true, // true or false
	'showDisplay'=>true, // true or false
	'showStatusBar'=>true, // true or false
	'showTracker'=>true, // true or false
	'stretchToFit'=>true, // true or false
	'transparentAtStart'=>true, // true or false
	'volume'=>100 // set volume as your requirement
	
	
	
)); 
			
			
		} 
		
		
		?>

0 0
2 followers
181 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Tags:
Developed by: bhavesh vaghela
Created on: Jan 11, 2013
Last updated: 5 years ago

Downloads

show all