| http://www.yiiframework.com/extension/efineuploader/ |
| only JPG (1 MB) uploaded file: |
cherry
pear
| http://www.yiiframework.com/extension/efineuploader/ |
| only JPG (1 MB) uploaded file: |
|
|
|
<div id="flashPlayer"></div>
$this->widget('ext.EFlashPlayer.EFlashPlayer',
array(
'config'=>array(
'id'=>'flashPlayer',
'file'=>'http://kosenka.ru/upload/EFlashPlayer.mp4',
'image'=>'http://kosenka.ru/upload/EFlashPlayer.jpg',
'width'=>"640",
'height'=>"480",
//'events'=>array('onComplete'=>'js:function() { alert("the video is finished!"); }')
)
));
Blocking unwanted visits by IP or name of the browser.
1) in /protected/config/main.php:
2) create files:/protected/config/EIPBlocker_IP.txt - file containing a list of banned IP. /protected/config/EIPBlocker_UserAgent.txt - file containing a list of banned User Agent |