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
|
@ -37,11 +37,12 @@ function audioPreview(filename, elemID){
|
|||
|
||||
$(document).ready(function(){
|
||||
var filename = $(".filename").text();
|
||||
play(filename);
|
||||
var name = $(".name").text();
|
||||
play(name, filename);
|
||||
});
|
||||
|
||||
function play(filename){
|
||||
var uri = "/api/get-media/file/" + filename;
|
||||
function play(name, filename){
|
||||
var uri = "/api/get-media/name/"+name+"/filename/" + filename;
|
||||
var ext = getFileExt(filename);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue