console.log(0)
console.log({"id":"134987","vkey":"52i48y","file_original_name":"Recensione Logitech K780.mp4","file_upload_path":"\/androidworld\/2017\/04\/recensione-logitech-k780_3957988653.mp4","file_mime_type":"video\/mp4","file_size":"335344546","file_thumb":"\/upload\/thumb\/androidworld\/2017\/04\/cover-logitech-k780_3002217855.jpg","file_thumb_push":null,"file_thumb_associate":null,"contentprovider_id":"112","category_id":"5","title":"Recensione Logitech K780","tags":"Recensione Logitech K780","description":"Recensione Logitech K780","note":"","testo":"","opinion":null,"user_id":"188","created_at":"2017-04-24 17:43:28","updated_at":"2017-04-24 17:57:10","videostore_default":"2","ready":"0","publish_date":"2017-04-24 15:33:00","url":"","url_stats":"https:\/\/www.smartworld.it\/recensioni\/logitech-k780","durata":"266","upload_start_at":"2017-04-24 17:38:28","upload_end_at":"2017-04-24 17:43:19","upload_ip":"79.43.120.31","formato":"1920x1080","verticale":"0","extra_filter":"<shaa>","external_uploaded":null,"external_updated":null,"external_info":null,"external_img":null,"external_id":null,"adkaora":"0","external_freewheel":"1","aws":"0","title_gz":null,"mediaset_play":"0","vsid":"138215","video_id":"134987","video_vkey":"52i48y","cp_id":"112","file_thumb_local_path":"\/upload\/thumb\/androidworld\/2017\/04\/recensione-logitech-k780_3957988653dwl2.jpg","transferred_at":"2017-04-24 17:45:47","uploaded_at":"2017-04-24 17:48:48","chechek_at":"2017-04-24 17:57:10","status":"3","videostore_id":"2","url_m3u8":"https:\/\/video-encoder-output.s3-eu-west-1.amazonaws.com\/amets\/smartworld\/2017\/04\/52i48y\/52i48y.m3u8","url_mp4":"","url_mp4_list":"","adv":"1","screenshoot":"3000","priorita_input":"D","priorita":"D","ripubblicato":"0","alexa":"0","url_mp4_alexa":"","embed":"92930"})
console.log("[ptp] IdNova: 52i48y | version: PAMELa swfg");
var ptpKAR_52i48y=true;
var ptpHasadv_52i48y=true;
var mobile = false;
  let div_52i48y = document.createElement("div");
  let ptp_52i48y = "av-content-wrapper-52i48y";
  div_52i48y.setAttribute("id", ptp_52i48y);
    document.currentScript.parentNode.appendChild(div_52i48y);

(function (a,l,t,e,r) {
  a[e] = a[e] || function(s) { (a[e].run = a[e].run || []).push(s)};
  let g,z = l.getElementsByTagName(t)[0];
  if (l.getElementById(e)){return;}
  g = l.createElement(t); g.id = e; g.src = r; g.async = 1;
  z.parentNode.insertBefore(g,z);
}(window, document, 'script', 'AVPushLoader', "https://ptp.stbm.it/pushdown/loader/av/pushdown-loader.js?cb=2.9.6"));

var ptpWebsite='swfg';
var ptpAdserver='freewheel';
var ptpAutoplay_52i48y=true;
if(typeof(isPrimoPtpVideo)==='undefined'){
  var isPrimoPtpVideo='52i48y';
  var amazonPtpBidding= [];
  var amazonPtpStarted=false;
}else{
  ptpAutoplay_52i48y=false;
}
function playPtp52i48y(params){
  console.debug("[ptp] playPtp52i48y");


AVPushLoader({
    website:  ptpWebsite,
    adServer: ptpAdserver,
            flyMode: "fade",
    mode: "content",
    preferMaxQuality: true,
    videoId: "52i48y",
    hasAdv: ptpHasadv_52i48y,
    flightEnabled: true,
            closeFlyingAfter: 7000,
            prerollAutoplay: ptpAutoplay_52i48y,
    contentAutoplay: false,
        targetElementId: ptp_52i48y
});

}
if(isPrimoPtpVideo=='52i48y'){
  function playPrerollWithAmazon(params){
    if(!amazonPtpStarted){
      amazonPtpStarted=true;
      amazonPtpBidding = params;
      playPtp52i48y(params);
    }
  }
  setTimeout(function(){
    if(!amazonPtpStarted){
      playPrerollWithAmazon([]);
    }
  }, 5000 );
}else{
  console.info("[ptp] no autoplay 52i48y");
  playPtp52i48y([]);
}

