CC-2430: Preview tracks in the library + better preview (ability to jump around in clip)

- updates to audio preview on library and playlist
This commit is contained in:
Daniel 2012-02-14 15:43:27 -05:00
parent 0b9ed43e50
commit 1aab682104
5 changed files with 32 additions and 90 deletions

View file

@ -1,15 +1,12 @@
<?php
$items = $this->pl->getContents();
if (count($items)) : ?>
<?php $i = 0; ?>
<?php foreach($items as $item) : ?>
<li class="ui-state-default" id="spl_<?php echo $item["id"] ?>" unqid="<?php echo $item["CcFiles"]["gunid"]."_".$item["id"]; ?>">
<div class="list-item-container">
<a href="javascript:void(0);" class="big_play"
accesskey=onClick="playlistAudioPreviewEditor(
'<?php echo $item["CcFiles"]["gunid"].".".pathinfo($item["CcFiles"]["filepath"],
PATHINFO_EXTENSION);?>', '<?php echo $i ?>');">
<a href="javascript:void(0);" class="big_play" onClick="open_audio_preview(
'<?php echo $item["CcFiles"]["gunid"].".".pathinfo($item["CcFiles"]["filepath"],PATHINFO_EXTENSION);?>', '<?php echo $i ?>');">
<span class="ui-icon ui-icon-play"></span></a>
<div class="text-row top">