-added support to preview mp3+ogg audio (chrome only so far).

This commit is contained in:
martin 2011-01-28 16:32:38 -05:00
parent c673b12046
commit 6651688940
4 changed files with 39 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<?php endif; ?>
<li class="ui-state-default" id="spl_<?php echo $this->partialCounter-1 ?>">
<a href="#" class="big_play"><span class="ui-icon ui-icon-play"></span></a>
<a href="javascript:void(0);" class="big_play" onclick="audioPreview('spl_<?php echo $this->partialCounter-1 ?>', '/api/get-media/file/<?php echo $this->CcFiles["gunid"] ?>.mp3/api_key/AAA')"><span class="ui-icon ui-icon-play"></span></a>
<div class="text-row top">
<span class="spl_playlength"><?php echo $this->cliplength ?></span>
<span class="spl_title"><?php echo $this->CcFiles['track_title'] ?></span>