File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,8 @@ public function getCode () {
3131 $ value = $ param ->getAttribute ('value ' );
3232
3333 if (substr ($ value , 0 , $ startValueLength ) === $ startValue ) {
34- $ value = substr ($ value , $ startValueLength );
34+ return Viewers:: videoHtml ( $ this -> getImage (), substr ($ value , $ startValueLength) );
3535 }
36-
37- return Viewers::videoHtml ($ this ->getImage (), $ value );
3836 }
3937 }
4038 }
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ private function resolve () {
5757 CURLOPT_RETURNTRANSFER => true ,
5858 CURLOPT_FOLLOWLOCATION => true ,
5959 CURLOPT_MAXREDIRS => 20 ,
60- CURLOPT_CONNECTTIMEOUT => 5 ,
60+ CURLOPT_CONNECTTIMEOUT => 10 ,
6161 CURLOPT_TIMEOUT => 10 ,
6262 CURLOPT_SSL_VERIFYPEER => false ,
6363 CURLOPT_SSL_VERIFYHOST => false ,
You can’t perform that action at this time.
0 commit comments