mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Change path to Controller\Records
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user