Learner\Services\Layouts\Videos\Vimeo::getIFrame PHP Method

getIFrame() public method

Get the iframe code.
public getIFrame ( integer $id ) : string
$id integer
return string
    public function getIFrame($id)
    {
        return '<iframe src="https://player.vimeo.com/video/' . $id . '" width="' . $this->getWidth() . '" height="' . $this->getHeight() . '" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>';
    }