/**
  * Creates a new AboutHost model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  * @return mixed
  */
 public function actionCreate()
 {
     $model = new AboutHost();
     $model2 = new UploadForm();
     $host_id = $_GET['host_id'];
     if ($model->load(Yii::$app->request->post())) {
         $model2->videoFile = UploadedFile::getInstance($model2, 'videoFile');
         if ($model2->upload()) {
             if ($model->save()) {
                 return $this->redirect(['hostslanguages/create', 'host_id' => $model->host_id]);
             }
         }
         return $this->redirect(['view', 'id' => $model->id]);
     } else {
         return $this->render('create', ['model2' => $model2, 'model' => $model, 'host_id' => $host_id]);
     }
 }