mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
Fix #1362 : Fix video display
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
flowplayer("preview{{random}}",
|
||||
{src:"/include/jslibs/flowplayer/flowplayer-3.2.12.swf", wmode: "transparent"},
|
||||
{clip:{url:"{{url|url_encode}}",autoPlay: true,autoBuffering:true,provider: "h264streaming",scaling:"fit"},
|
||||
onError:function(code,message){getNewVideoToken({{thumbnail.get_sbas_id() ~'_'~thumbnail.get_record_id()}}, this);},
|
||||
onError:function(code,message){getNewVideoToken("{{thumbnail.get_sbas_id() ~'_'~thumbnail.get_record_id()}}", this);},
|
||||
plugins: {h264streaming: {url: "/include/jslibs/flowplayer/flowplayer.pseudostreaming-3.2.9.swf"}}
|
||||
});
|
||||
</script>
|
||||
|
@@ -11,7 +11,7 @@ function getNewVideoToken(lst, obj)
|
||||
{
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/prod/records/renew-url/",
|
||||
url: "../prod/records/renew-url/",
|
||||
dataType: 'json',
|
||||
data: {
|
||||
lst: lst
|
||||
@@ -78,7 +78,7 @@ function openPreview(env, pos, contId, reload){
|
||||
|
||||
prevAjax = $.ajax({
|
||||
type: "POST",
|
||||
url: "/prod/records/",
|
||||
url: "../prod/records/",
|
||||
dataType: 'json',
|
||||
data: {
|
||||
env: env,
|
||||
|
@@ -15,7 +15,7 @@ var p4 = p4 || {};
|
||||
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "/prod/WorkZone/",
|
||||
url: "../prod/WorkZone/",
|
||||
data: {
|
||||
id: baskId,
|
||||
sort: sort,
|
||||
@@ -510,7 +510,7 @@ var p4 = p4 || {};
|
||||
{
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/prod/WorkZone/attachStories/",
|
||||
url: "../prod/WorkZone/attachStories/",
|
||||
data: {stories: p4.Results.Selection.get()},
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
|
Reference in New Issue
Block a user