the element enable native audio playback within the browser. It supports all browsers i.e. Firefox, Chrome, Safari, IE and Opera. HTML5 Audio Player with Playlist, Repeat, Random, Stream Seek, Volume Control, Timer, Next, Previous, Play-Pause option. Date: 2012, April, 18 Author: Sandeep Verma Author URI: http://www.svnlabs.com/ Version: 1.07 */ /* Author: Sandeep Verma Website: http://www.svnlabs.com Copyright 2012 SVN Labs Softwares, Jaipur, India All Rights Reserved. */ function html5mp3playlist_add_admin() { add_options_page('HTML5MP3Playlist', 'html5mp3playlist', 8, 'html5mp3playlist', 'html5mp3playlist_options'); } $html5mp3playlist_sizes = array( 1 =>array( "name" =>"Default", "w" =>"566", "h" =>"207" ) ); function html5mp3playlist_content($content) { global $html5mp3playlist_sizes; $size = intval(get_option('html5mp3playlist_size')); $regex = '/\[html5mp3(full|small):(.*?)]/i'; preg_match_all( $regex, $content, $matches ); //echo "
";
//print_r($matches);
if($matches[1][0]=="full")
{
$replace = '';
}
else
{
$replace = '';
}
$content = str_replace($matches[0][0], $replace, $content);
return $content;
}
/*
* The Options page
*/
function html5mp3playlist_options()
{
global $html5mp3playlist_sizes;
$options = array("");
if($_POST['action'] == 'save')
{
update_option('html5mp3playlist_size', $_POST['html5mp3playlist_size']);
foreach($options as $o)
{
$val = !empty($_POST[$o]);
update_option($o, $val);
}
}
$size = get_option('html5mp3playlist_size');
?>
HTML5 MP3 Player with Playlist Options
Embed, Play, Listen and Share MP3 Music from Amazon S3, CDN, Icecast, Shoutcast, Soundcloud, Dropbox, Feedburner and MP3 Folder.
Do you like this plugin?
I want to make it better?
Security is not Free - Get fully customized HTML5 MP3 Player with Playlist for Website
Concentrate > Observe > Imagine > Launch
Upload Music on Cloud and Share Sermons, Meetings, Interviews, Podcasts, MixTaps, Audio Recordings.