CC-2430: Preview tracks in the library + better preview (ability to jump around in clip)
- removed javascript from php files - removed preview.js - fixed small problems with editor
This commit is contained in:
parent
a246f85a5b
commit
a09b63b8d0
12 changed files with 49 additions and 118 deletions
|
@ -245,6 +245,16 @@ var AIRTIME = (function(AIRTIME){
|
|||
}
|
||||
}
|
||||
|
||||
function openAudioPreview(event) {
|
||||
event.stopPropagation();
|
||||
|
||||
var name = $(this).parent().find('.spl_title').text();
|
||||
var audioFile = $(this).attr('audioFile');
|
||||
var id = "";
|
||||
|
||||
open_audio_preview(name, audioFile, id);
|
||||
}
|
||||
|
||||
function editName() {
|
||||
var nameElement = $(this),
|
||||
playlistName = nameElement.text(),
|
||||
|
@ -343,6 +353,9 @@ var AIRTIME = (function(AIRTIME){
|
|||
$(el).delegate(".spl_cue",
|
||||
{"click": openCueEditor});
|
||||
|
||||
//add the play function to the play icon
|
||||
$(el).delegate(".big_play",
|
||||
{"click": openAudioPreview});
|
||||
}
|
||||
|
||||
//sets events dynamically for the cue editor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue