Change path to Controller\Records

This commit is contained in:
Nicolas Le Goff
2012-10-19 16:51:01 +02:00
parent ae447cad96
commit 1859436cb2
4 changed files with 24 additions and 72 deletions

View File

@@ -7,22 +7,20 @@ $(document).ready(function(){
});
function getNewVideoToken(sbas_id, record_id, obj)
function getNewVideoToken(lst, obj)
{
$.ajax({
type: "POST",
url: "/prod/prodFeedBack.php",
url: "/prod/records/renew-url/",
dataType: 'json',
data: {
action:'VIDEOTOKEN',
sbas_id : sbas_id,
record_id : record_id
lst: lst
},
success: function(data){
if(!data.url)
if(!data[lst])
return;
obj.unload();
obj.setClip(data);
obj.setClip({url:data[lst]});
obj.play();
return;
}