/** * Builds attributes for the html tag with the video * @param $params * @return string */ public function buildVideoAttrs($params) { parent::buildVideoAttrs($params); $this->videoAttrs['frameborder'] = 0; $this->videoAttrs['allowfullscreen'] = 'true'; return $this->element->_buildAttrs($this->videoAttrs); }
/** * Builds attributes for the html tag with the video * @param $params * @return string */ public function buildVideoAttrs($params) { parent::buildVideoAttrs($params); $isAllowFullscreen = (int) $params->get('youtube_allow_fullscreen', 1); $this->videoAttrs['frameborder'] = 0; $this->videoAttrs['allowfullscreen'] = $isAllowFullscreen ? 1 : 0; return $this->element->_buildAttrs($this->videoAttrs); }
/** * Builds attributes for the html tag with the video * @param $params * @return string */ public function buildVideoAttrs($params) { parent::buildVideoAttrs($params); return false; }
/** * Builds attributes for the html tag with the video * @param $params * @return string */ public function buildVideoAttrs($params) { parent::buildVideoAttrs($params); $this->videoAttrs['frameborder'] = 0; return $this->element->_buildAttrs($this->videoAttrs); }