fuel/fuel/core/classes/html.php
public static function audio($src = '', $attr = false)
	{
		if(static::$html5)
		{
			if(is_array($src))
			{
				$source = '';
				foreach($src as $item)
				{
					$source .= html_tag('source', array('src' => $item));
				}
			}
			else
			{
				$source = html_tag('source', array('src' => $src));
			}
			return html_tag('audio', $attr, $source);
		}
	}
public static function audio($src = '', $attr = false)
	{
		if(static::$html5)
		{
			if(is_array($src))
			{
				$source = '';
				foreach($src as $item)
				{
					$source .= html_tag('source', array('src' => $item));
				}
			}
			else
			{
				$source = html_tag('source', array('src' => $src));
			}
			return html_tag('audio', $attr, $source);
		}
	}
public static function audio ( $ src = '' , $ attr = false ) { if ( static :: $ html5 ) { if ( is_array ( $ src ) ) { $ source = '' ; foreach ( $ src as $ item ) { $ source .= html_tag ( 'source' , array ( 'src' => $ item ) ) ; } } else { $ source = html_tag ( 'source' , array ( 'src' => $ src ) ) ; } return html_tag ( 'audio' , $ attr , $ source ) ; } }
Generates a html5 audio tag
It is required that you set html5 as the doctype to use this method

@param	string|array	one or multiple audio sources
@param	array			tag attributes
@return	string
Generates a html5 audio tag It is required that you set html5 as the doctype to use this method