bump embed bundle, removed swfobject dependency, cleanup and fix thumbnail twig files

This commit is contained in:
Florian BLOUET
2015-12-14 18:26:31 +01:00
parent bfed7bcce4
commit 02da92b77b
12 changed files with 44 additions and 220 deletions

View File

@@ -1569,50 +1569,6 @@ function previewEdit(r) {
$('#TH_Opreview .PNB10').empty().append(p4.edit.T_records[r].preview);
// var data = p4.edit.T_records[r].preview;
// if ((data.doctype == 'video' || data.doctype == 'audio' || data.doctype == 'flash')) {
// if(data.doctype != 'video' && data.flashcontent.url)
// {
// var flashvars = false;
// var params = {
// menu: "false",
// flashvars: data.flashcontent.flashVars,
// movie: data.flashcontent.url,
// allowFullScreen :"true",
// wmode: "transparent"
// };
// var attributes = false;
// if (data.doctype != 'audio') {
// attributes = {
// styleclass: "PREVIEW_PIC"
// };
// }
// swfobject.embedSWF(data.flashcontent.url, "FLASHPREVIEW", data.flashcontent.width, data.flashcontent.height, "9.0.0", false, flashvars, params, attributes);
// }
// else
// {
// flowplayer("FLASHPREVIEW", '/include/flowplayer/flowplayer-3.2.2.swf',{
// clip: {
// autoPlay: true,
// autoBuffering:true,
// provider: 'h264streaming',
// metadata: false,
// scaling:'fit',
// url: data.flashcontent.flv
// },
// onError:function(code,message){
// getNewVideoToken(p4.edit.T_records[r].sbas_id, p4.edit.T_records[r].rid, this);
// },
// plugins: {
// h264streaming: {
// url: '/include/flowplayer/flowplayer.pseudostreaming-3.2.2.swf'
// }
// }
// });
// }
// }
if ($('img.PREVIEW_PIC.zoomable').length > 0) {
$('img.PREVIEW_PIC.zoomable').draggable();
}