classes/Video.php
public function getHttpResponse(array $headers = [])
    {
        $client = new Client();
        $urls = $this->getUrl();

        return $client->request('GET', $urls[0], ['stream' => true, 'headers' => $headers]);
    }
public function getHttpResponse(array $headers = [])
    {
        $client = new Client();
        $urls = $this->getUrl();

        return $client->request('GET', $urls[0], ['stream' => true, 'headers' => $headers]);
    }
public function getHttpResponse ( array $ headers = [ ] ) { $ client = new Client ( ) ; $ urls = $ this -> getUrl ( ) ; return $ client -> request ( 'GET' , $ urls [ 0 ] , [ 'stream' => true , 'headers' => $ headers ] ) ; }
Get a HTTP response containing the video.

@param array $headers HTTP headers of the request

@return Response
Get a HTTP response containing the video .