Lines Matching refs:atts
1900 * @param array $atts - additional attributes for the <video> tag
1906 public function _video($src, $width, $height, $atts = null) argument
1909 if (is_null($atts)) $atts = [];
1910 $atts['width'] = (int)$width;
1911 $atts['height'] = (int)$height;
1912 if (!$atts['width']) $atts['width'] = 320;
1913 if (!$atts['height']) $atts['height'] = 240;
1937 $out .= '<video ' . buildAttributes($atts) . ' controls="controls"';
1951 $title = empty($atts['title'])
1953 : $atts['title'];
1987 * @param array $atts - additional attributes for the <audio> tag
1992 public function _audio($src, $atts = []) argument
2009 $out .= '<audio ' . buildAttributes($atts) . ' controls="controls">' . NL;
2021 $title = $atts['title'] ?: $this->_xmlEntities(PhpString::basename(noNS($file)));