Embera\Providers\Vimeo::fakeResponse PHP Метод

fakeResponse() публичный Метод

inline {@inheritdoc}
public fakeResponse ( )
    public function fakeResponse()
    {
        preg_match('~/([0-9]{5,12})$~i', $this->url, $matches);
        return array('type' => 'video', 'provider_name' => 'Vimeo', 'provider_url' => 'http://www.vimeo.com', 'title' => 'Unknown title', 'html' => '<iframe src="http://player.vimeo.com/' . $matches['1'] . '" width="{width}" height="{height}" frameborder="0" title="" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>');
    }