CC-2430: Preview tracks in the library + better preview (ability to jump around in clip)
- Merged with devel, removed js from StoredFile.php
This commit is contained in:
parent
51f004933b
commit
a246f85a5b
6 changed files with 570 additions and 1151 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
var audio_preview_window = null;
|
||||
var audio_preview_window_p = null;
|
||||
|
||||
function playlistAudioPreviewEditor(filename, elemIndexString){
|
||||
|
||||
|
@ -41,7 +41,7 @@ function playlistAudioPreviewEditor(filename, elemIndexString){
|
|||
|
||||
}
|
||||
|
||||
function open_audio_preview(filename, index) {
|
||||
function open_audio_preview_old(filename, index) {
|
||||
console.log("hello world 2 "+filename+" help?");
|
||||
url = 'Playlist/audio-preview-player/filename/'+filename+'/index/'+index;
|
||||
//$.post(baseUri+'Playlist/audio-preview-player', {fileName: fileName, cueIn: cueIn, cueOut: cueOut, fadeIn: fadeIn, fadeInFileName: fadeInFileName, fadeOut: fadeOut, fadeOutFileName: fadeOutFileName})
|
||||
|
@ -57,6 +57,13 @@ function open_audio_preview(filename, index) {
|
|||
console.log("something else : "+baseUrl+url);
|
||||
}
|
||||
|
||||
audio_preview_window.focus();
|
||||
//Set the play button to pause.
|
||||
var elemID = "spl_"+elemIndexString;
|
||||
$('#'+elemID+' div.list-item-container a span').attr("class", "ui-icon ui-icon-pause");
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$('#library_type').bind('click', function(){
|
||||
console.log(data);
|
||||
});
|
|
@ -67,6 +67,6 @@ function play(filename){
|
|||
cssSelectorAncestor: '#jp_container_1',
|
||||
wmode: "window"
|
||||
});
|
||||
$this.focus();
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue