console.log(0)
console.log({"id":"194797","vkey":"p2kkd0","file_original_name":"Life is Strange 2.mp4","file_upload_path":"\/androidworld\/2018\/09\/life-is-strange-2_3544735060.mp4","file_mime_type":"video\/mp4","file_size":"763965171","file_thumb":"\/upload\/thumb\/smartworld\/2018\/09\/life-is-strange_3978000378.jpg","file_thumb_push":null,"file_thumb_associate":null,"contentprovider_id":"112","category_id":"2","title":"Recensione Life is Strange 2 Episodio 1","tags":"Recensione Life is Strange 2 Episodio 1","description":"Recensione Life is Strange 2 Episodio 1","note":"","testo":"","opinion":"210","user_id":"188","created_at":"2018-09-28 11:44:09","updated_at":"2018-09-28 11:52:07","videostore_default":"2","ready":"0","publish_date":"2018-09-28 09:41:00","url":"","url_stats":"https:\/\/www.smartworld.it\/videogiochi\/recensione-life-is-strange-2-ep-1.html","durata":"417","upload_start_at":"2018-09-28 11:41:19","upload_end_at":"2018-09-28 11:43:47","upload_ip":"82.185.152.170","formato":"1920x1080","verticale":"0","extra_filter":null,"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":"198019","video_id":"194797","video_vkey":"p2kkd0","cp_id":"112","file_thumb_local_path":"\/upload\/thumb\/androidworld\/2018\/09\/life-is-strange-2_3544735060dwl2.jpg","transferred_at":"2018-09-28 11:45:03","uploaded_at":"2018-09-28 11:46:23","chechek_at":"2018-09-28 11:52:07","status":"3","videostore_id":"2","url_m3u8":"https:\/\/video-encoder-output.s3-eu-west-1.amazonaws.com\/amets\/smartworld\/2018\/09\/p2kkd0\/p2kkd0.m3u8","url_mp4":"","url_mp4_list":"","adv":"1","screenshoot":"3000","priorita_input":"D","priorita":"banzai_sp","ripubblicato":"0","alexa":"0","url_mp4_alexa":"","embed":"124425"})
console.log("[ptp] IdNova: p2kkd0 | version: PAMELa swfg");
var ptpKAR_p2kkd0=true;
var ptpHasadv_p2kkd0=true;
var mobile = false;
  let div_p2kkd0 = document.createElement("div");
  let ptp_p2kkd0 = "av-content-wrapper-p2kkd0";
  div_p2kkd0.setAttribute("id", ptp_p2kkd0);
    document.currentScript.parentNode.appendChild(div_p2kkd0);

(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_p2kkd0=true;
if(typeof(isPrimoPtpVideo)==='undefined'){
  var isPrimoPtpVideo='p2kkd0';
  var amazonPtpBidding= [];
  var amazonPtpStarted=false;
}else{
  ptpAutoplay_p2kkd0=false;
}
function playPtpp2kkd0(params){
  console.debug("[ptp] playPtpp2kkd0");


AVPushLoader({
    website:  ptpWebsite,
    adServer: ptpAdserver,
            flyMode: "fade",
    mode: "content",
    preferMaxQuality: true,
    videoId: "p2kkd0",
    hasAdv: ptpHasadv_p2kkd0,
    flightEnabled: true,
            closeFlyingAfter: 7000,
            prerollAutoplay: ptpAutoplay_p2kkd0,
    contentAutoplay: false,
        targetElementId: ptp_p2kkd0
});

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

