lvhao 14 jam lalu
induk
melakukan
f318cbc51f
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  1. 3 2
      core/CoreApp/controllers/Goodimglibrary.php

+ 3 - 2
core/CoreApp/controllers/Goodimglibrary.php

@@ -95,10 +95,11 @@ class Goodimglibrary extends Start_Controller {
           
             foreach($imgs as $k => $v){
                 $type = $this->_checkVideo($v);
+                $url = $this->_transingurl($v);
                 if($type == "video"){
-                    $str.= '<video controls="true" width="100" src="'.$this->_transingurl($v).'" alt="video image" style="margin-right:3px;"></video>';
+                    $str.= '<video controls="true" width="100" src="'.$url.'" alt="video image" style="margin-right:3px;"></video>';
                 }else{
-                    $str .= '<img width="100px" src="'.$this->_transingurl($v).'" alt="image" style="margin-right:3px;">';
+                    $str .= '<img width="100px" src="'.$url.'" alt="image" style="margin-right:3px;">';
                 }
             }