I am new on PHP and HTLm and trying to grab Trailer Thumbnail, I grab poster but not successfully grab Trailer Thumbnail.
$arr['poster'] = $this->match('/<link rel=.image_src. href="(.*?)"/msi', $html, 1);
$arr['trailer_image'] = $this->match('/<div class=.jw-preview jw-reset. style="(.*?)"/msi', $html, 1);
Uploading images to understand how can i do it? Below is poster URL
Please help me how can i get it? Thanks