作者 lyh

gx

... ... @@ -70,7 +70,6 @@ class EditVideoMp4 extends Command
*/
public function getVideoSrc($html){
$videoArr = [];
$html = file_get_contents($html);
$pattern = '/<video.*?src=[\'"]([^\'"]+)[\'"].*?>/i';
preg_match_all($pattern, $html, $matches);
$srcLinks = $matches[1];
... ...