console.log(0)
console.log({"id":"129343","vkey":"jg9pwh","file_original_name":"Recensione Termostato Nest.mp4","file_upload_path":"\/androidworld\/2017\/04\/recensione-termostato-nest_3381394476.mp4","file_mime_type":"video\/mp4","file_size":"172635489","file_thumb":"\/upload\/thumb\/androidworld\/2017\/04\/copertina-termostato-nest_1646196262.jpg","file_thumb_push":null,"file_thumb_associate":null,"contentprovider_id":"112","category_id":"1","title":"Recensione Termostato Nest","tags":"Recensione Termostato Nest","description":"Recensione Termostato Nest","note":"","testo":"","opinion":null,"user_id":"210","created_at":"2017-04-19 10:01:28","updated_at":"2017-04-19 11:47:00","videostore_default":"2","ready":"0","publish_date":"2017-04-19 07:50:00","url":"","url_stats":"https:\/\/www.smartworld.it\/","durata":"224","upload_start_at":"2017-04-19 09:55:45","upload_end_at":"2017-04-19 10:00:12","upload_ip":"82.49.67.147","formato":"1920x1080","verticale":"0","extra_filter":"<shaa>","external_uploaded":null,"external_updated":null,"external_info":null,"external_img":null,"external_id":null,"adkaora":"12","external_freewheel":"1","aws":"0","title_gz":null,"mediaset_play":"0","vsid":"132571","video_id":"129343","video_vkey":"jg9pwh","cp_id":"112","file_thumb_local_path":"\/upload\/thumb\/androidworld\/2017\/04\/recensione-termostato-nest_3381394476dwl2.jpg","transferred_at":"2017-04-19 11:33:05","uploaded_at":"2017-04-19 11:36:06","chechek_at":"2017-04-19 11:47:00","status":"3","videostore_id":"2","url_m3u8":"https:\/\/video-encoder-output.s3-eu-west-1.amazonaws.com\/amets\/smartworld\/2017\/04\/jg9pwh\/jg9pwh.m3u8","url_mp4":"","url_mp4_list":"","adv":"1","screenshoot":"3000","priorita_input":"D","priorita":"D","ripubblicato":"0","alexa":"0","url_mp4_alexa":"","embed":"90396"})
console.log("[ptp] IdNova: jg9pwh | version: PAMELa swfg");
var ptpKAR_jg9pwh=true;
var ptpHasadv_jg9pwh=true;
var mobile = false;
  let div_jg9pwh = document.createElement("div");
  let ptp_jg9pwh = "av-content-wrapper-jg9pwh";
  div_jg9pwh.setAttribute("id", ptp_jg9pwh);
    document.currentScript.parentNode.appendChild(div_jg9pwh);

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


AVPushLoader({
    website:  ptpWebsite,
    adServer: ptpAdserver,
            flyMode: "fade",
    mode: "content",
    preferMaxQuality: true,
    videoId: "jg9pwh",
    hasAdv: ptpHasadv_jg9pwh,
    flightEnabled: true,
            closeFlyingAfter: 7000,
            prerollAutoplay: ptpAutoplay_jg9pwh,
    contentAutoplay: false,
        targetElementId: ptp_jg9pwh
});

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

