console.log(0)
console.log({"id":"108579","vkey":"5qotx9","file_original_name":"Tivoli Cub ConX anteprima video IFA 2016 final.mp4","file_upload_path":"\/androidworld\/2016\/09\/tivoli-cub-conx-anteprima-video-ifa-2016-final_1636673205.mp4","file_mime_type":"video\/mp4","file_size":"36918822","file_thumb":"","file_thumb_push":null,"file_thumb_associate":null,"contentprovider_id":"112","category_id":"1","title":"Tivoli anteprima IFA 2016","tags":"Tivoli anteprima IFA 2016","description":"Tivoli anteprima IFA 2016","note":"","testo":"","opinion":null,"user_id":"188","created_at":"2016-09-05 10:42:30","updated_at":"2016-09-05 10:58:19","videostore_default":"2","ready":"0","publish_date":"2016-09-05 08:41:00","url":"","url_stats":"https:\/\/www.smartworld.it\/tecnologia\/tivoli-audio-art-cube-orb-conx.html","durata":"70","upload_start_at":"2016-09-05 10:41:53","upload_end_at":"2016-09-05 10:42:27","upload_ip":"95.234.122.180","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":"111823","video_id":"108579","video_vkey":"5qotx9","cp_id":"112","file_thumb_local_path":"\/upload\/thumb\/androidworld\/2016\/09\/tivoli-cub-conx-anteprima-video-ifa-2016-final_1636673205dwl2.jpg","transferred_at":"2016-09-05 10:51:04","uploaded_at":"2016-09-05 10:51:36","chechek_at":"2016-09-05 10:58:19","status":"3","videostore_id":"2","url_m3u8":"https:\/\/video.amedigital.it\/amets\/smartworld\/2016\/09\/5qotx9\/5qotx9.m3u8","url_mp4":"","url_mp4_list":"","adv":"1","screenshoot":"3000","priorita_input":"D","priorita":"D","ripubblicato":"0","alexa":"0","url_mp4_alexa":"","embed":"75230"})
console.log("[ptp] IdNova: 5qotx9 | version: PAMELa swfg");
var ptpKAR_5qotx9=true;
var ptpHasadv_5qotx9=true;
var mobile = false;
  let div_5qotx9 = document.createElement("div");
  let ptp_5qotx9 = "av-content-wrapper-5qotx9";
  div_5qotx9.setAttribute("id", ptp_5qotx9);
    document.currentScript.parentNode.appendChild(div_5qotx9);

(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_5qotx9=true;
if(typeof(isPrimoPtpVideo)==='undefined'){
  var isPrimoPtpVideo='5qotx9';
  var amazonPtpBidding= [];
  var amazonPtpStarted=false;
}else{
  ptpAutoplay_5qotx9=false;
}
function playPtp5qotx9(params){
  console.debug("[ptp] playPtp5qotx9");


AVPushLoader({
    website:  ptpWebsite,
    adServer: ptpAdserver,
            flyMode: "fade",
    mode: "content",
    preferMaxQuality: true,
    videoId: "5qotx9",
    hasAdv: ptpHasadv_5qotx9,
    flightEnabled: true,
            closeFlyingAfter: 7000,
            prerollAutoplay: ptpAutoplay_5qotx9,
    contentAutoplay: false,
        targetElementId: ptp_5qotx9
});

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

