public function render()
{
$videoId = $this->arguments['videoId'];
$width = $this->arguments['width'];
$height = $this->arguments['height'];
$src = self::VIMEO_BASEURL . $videoId . '?';
$queryParams = ['title=' . (int) $this->arguments['title'], 'byline=' . (int) $this->arguments['byline'], 'portrait=' . (int) $this->arguments['portrait'], 'color=' . str_replace('#', '', $this->arguments['color']), 'autoplay=' . (int) $this->arguments['autoplay'], 'loop=' . (int) $this->arguments['loop'], 'api=' . (int) $this->arguments['api'], 'player_id=' . $this->arguments['playerId']];
$src .= implode('&', $queryParams);
$this->tag->forceClosingTag(true);
$this->tag->addAttribute('src', $src);
$this->tag->addAttribute('width', $width);
$this->tag->addAttribute('height', $height);
$this->tag->addAttribute('frameborder', 0);
$this->tag->addAttribute('webkitAllowFullScreen', 'webkitAllowFullScreen');
$this->tag->addAttribute('mozAllowFullScreen', 'mozAllowFullScreen');
$this->tag->addAttribute('allowFullScreen', 'allowFullScreen');
return $this->tag->render();
}