Yii 1.1: bmvmediaplayer

BmvMediaPlayer based on Microsoft Windows Media Player components
2 followers

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
        
        
        
    )); 
                
                
            } 
            
            
            ?>

Total 2 comments

#11403 report it
bhavesh vaghela at 2013/01/11 07:07am
Works only on Windows

I have checked in ubuntu 12.04 and its working but with some option is not working

#11402 report it
Jmper at 2013/01/11 06:52am
Works only on Windows

You forgot to mention that it works only on Windows clients.

Leave a comment

Please to leave your comment.

Create extension