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
));
}
?>
Works only on Windows
You forgot to mention that it works only on Windows clients.
Works only on Windows
I have checked in ubuntu 12.04 and its working but with some option is not working
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.