Lines Matching defs:atts
1902 * @param array $atts - additional attributes for the <video> tag
1908 public function _video($src, $width, $height, $atts = null)
1911 if (is_null($atts)) $atts = [];
1912 $atts['width'] = (int)$width;
1913 $atts['height'] = (int)$height;
1914 if (!$atts['width']) $atts['width'] = 320;
1915 if (!$atts['height']) $atts['height'] = 240;
1939 $out .= '<video ' . buildAttributes($atts) . ' controls="controls"';
1953 $title = empty($atts['title'])
1955 : $atts['title'];
1989 * @param array $atts - additional attributes for the <audio> tag
1994 public function _audio($src, $atts = [])
2011 $out .= '<audio ' . buildAttributes($atts) . ' controls="controls">' . NL;
2023 $title = $atts['title'] ?: $this->_xmlEntities(PhpString::basename(noNS($file)));