CC-2430: Preview tracks in the library + better preview (ability to jump around in clip)
- updated icon in library
This commit is contained in:
parent
2de81c6027
commit
51f004933b
|
@ -661,7 +661,9 @@ Logging::log("getting media! - 2");
|
|||
|
||||
if($type == "au" && isset( $audioResults )) {
|
||||
$audioFile = $audioResults[$row['id']-1]['gunid'].".".pathinfo($audioResults[$row['id']-1]['filepath'], PATHINFO_EXTENSION);
|
||||
$row['image'] = '<img src="/css/images/big_play_arrow.png" onClick="open_audio_preview(\''.$audioFile.'\', \'spl_'.$row['id'].'\')">';
|
||||
$row['image'] = '<a href="javascript:void(0);" class="big_play"
|
||||
onclick="open_audio_preview(\''.$audioFile.'\', \'spl_'.$row['id'].'\');">
|
||||
<span class="ui-icon ui-icon-play"></span></a>';
|
||||
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -41,8 +41,6 @@ $(document).ready(function(){
|
|||
});
|
||||
|
||||
function play(filename){
|
||||
console.log("in the play function! "+filename);
|
||||
|
||||
var uri = "/api/get-media/file/" + filename;
|
||||
var ext = getFileExt(filename);
|
||||
|
||||
|
@ -69,5 +67,6 @@ function play(filename){
|
|||
cssSelectorAncestor: '#jp_container_1',
|
||||
wmode: "window"
|
||||
});
|
||||
$this.focus();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue