function Wo_Audio ($string ='') {
$string = str_replace('[audio ', '<audio controls src="', $string);
$string = str_replace(']', "\"></audio>", $string);
return $string;
}
<div class='audioPlayer' id='audioPlayer' src='' status=''>
<audio></audio>
<div class='controlPanelWrapper'>
<table cellpadding='0' cellspacing='0' class='controlPanel'>
<tr>
<td class='playContainer'><div class='play' onclick='audioPlayer.play(this);' ></div></td>
<td class='stopContainer'><div class='stop' onclick='audioPlayer.stop(this);'></div></td>
<td class='progressContainer'>
<div class='infoWrapper'><span class='title'>Аудиокомментарий 1</span></div>
<div class='progressBlock' onclick='audioPlayer.time(this,event);'><div class='progressWrapper'><div class='progressBar'></div><div class='seekBar'></div></div></div>
</td>
<td class='volumeContainer'>
<div class='time'><span class='current'>0:00</span> / <span class='duration'>0:00</span></div>
<div class='volumeBlock' onclick='audioPlayer.volume(this,event);'><div class='volumeWrapper'><div class='volumeBar'><div class='btn'></div></div></div></div>
</td>
</tr>
</table>
</div>
</div>
function Wo_Audio ($string ='') {
$string = str_replace('[audio ', "<div class='audioPlayer' id='audioPlayer' src='", $string);
$string = str_replace(']', "' status=''>
<audio></audio>
<div class='controlPanelWrapper'>
<table cellpadding='0' cellspacing='0' class='controlPanel'>
<tr>
<td class='playContainer'><div class='play' onclick='audioPlayer.play(this);' ></div></td>
<td class='stopContainer'><div class='stop' onclick='audioPlayer.stop(this);'></div></td>
<td class='progressContainer'>
<div class='infoWrapper'><span class='title'>Аудиокомментарий 1</span></div>
<div class='progressBlock' onclick='audioPlayer.time(this,event);'><div class='progressWrapper'><div class='progressBar'></div><div class='seekBar'></div></div></div>
</td>
<td class='volumeContainer'>
<div class='time'><span class='current'>0:00</span> / <span class='duration'>0:00</span></div>
<div class='volumeBlock' onclick='audioPlayer.volume(this,event);'><div class='volumeWrapper'><div class='volumeBar'><div class='btn'></div></div></div></div>
</td>
</tr>
</table>
</div>
</div>", $string);
return $string;
}