Exemple #1
0
 public function actionUrlvideo()
 {
     if (Yii::$app->request->isAjax) {
         $w = Yii::$app->request->post('w');
         $h = Yii::$app->request->post('h');
         $file = Yii::$app->request->post('file');
         echo \app\models\Video::getVideoUrl($w, $h, $file);
     }
     //        echo "test";
 }