jakenbake
Forum Replies Created
Viewing 1 replies (of 1 total)
-
I added the follow code to the miniaudioplayer.php file and got it to play the m4a format. I am new to php so I’m not sure if this is the best way to accomplish this but it works for now. Thanks for the plugin.
<!-- start miniAudioPlayer initializer --> <script type="text/javascript"> if(!map) var map={}; map.downloadUrl = "'.plugins_url( 'map_download.php', __FILE__ ).'"; map.userCanDownload = '.(current_user_can('read') == 1 ? "true" : "false").'; jQuery(function(){ jQuery("a[href*=\'.m4a\']")'.getExcluded().'mb_miniPlayer({ inLine:true, width:"'.$miniAudioPlayer_width.'", skin:"'.$miniAudioPlayer_skin.'", animate:'.$miniAudioPlayer_animate.', volume:'.$miniAudioPlayer_volume.', autoplay:'.$miniAudioPlayer_autoplay.', showVolumeLevel:'.$miniAudioPlayer_showVolumeLevel.', showTime:'.$miniAudioPlayer_showTime.', id3:'.$miniAudioPlayer_getMetadata.', showRew:'.$miniAudioPlayer_showRew.', downloadable:'.canDownload().', swfPath:"'.plugins_url( '/js/', __FILE__ ).'" }); }); </script> <!-- end miniAudioPlayer initializer -->[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Viewing 1 replies (of 1 total)