Bakü’de hareketli saatler

#vidyome-container,.vme_container { overflow: hidden; min-height: 400px !important; z-index: 2; }
.vme_time-current{ background: #e32435 !important; }
@media (min-width:990px) { #vidyome-container, .vme_container { height: 535px !important;} }

function setCookie(name,value,days) {
var expires = “”;
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days*24*60*60*1000));
expires = “; expires=” + date.toUTCString();
}
document.cookie = name + “=” + (value || “”) + expires + “; path=/”;
}
function getCookie(name) {
var nameEQ = name + “=”;
var ca = document.cookie.split(‘;’);
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}

function parseBkCampaignIds(a) {

var obj = a.campaigns;

var cookieBkString = "";

for (var key in obj) {
if (obj.hasOwnProperty(key)) {
console.log(obj[key].campaign);
cookieBkString += obj[key].campaign + ",";
}
}

return cookieBkString.substr(0, cookieBkString.length-1);
}

function bluekaiLoaded() {

console.log(bk_results);

setCookie("bk_r", parseBkCampaignIds(bk_results));

}

(function() {
var s = document.createElement(‘script’);
s.type=”text/javascript”;
s.async = true;
s.onload = function() {
bluekaiLoaded();
};
s.src=”https://tags.bluekai.com/site/64465?ret=js&limit=1″;
( document.getElementsByTagName(‘head’)[0] ).appendChild( s );
})();

var autoPlay = true,
paused = false,
playerState = false;
var script=document.createElement(‘script’);
script.type=”text/javascript”;
script.src=”https://s.haber7.net/vidyome/player.js”;
script.id=’vidyome-player’;
script.setAttribute(‘cdn-path’, “https://s.haber7.net/vidyome/”);
script.setAttribute(‘video-source’, “https://v.haber7.net/videos/mp4/2024/26/1719215013194_1719215013194rc67yhtyrefcl7oj8747b.mp4”);
script.setAttribute(‘video-poster’, “https://i12.haber7.net//fotogaleri/haber7/video/thumbs2/2024/26/bakude_hareketli_saatler_1719215021_2172.jpg”);
script.setAttribute(‘video-play’, false);
script.setAttribute(‘video-volume’, “false”);
script.setAttribute(‘video-url’, “https://video.haber7.com/video-galeri/282256-bakude-hareketli-saatler”);
script.setAttribute(‘ads-midroll-start’, “20”);
script.setAttribute(‘ads-key-value’, “Haber7_Kategori_ID=Haber7_Dunya”);
try {
if (getCookie(“bk_r”)) {
var values = getCookie(“bk_r”);
var oldKeyValueParam = script.getAttribute(‘ads-key-value’);
//oldKeyValueParam += “&bluekai=” + [values];
script.setAttribute(‘ads-key-value’, oldKeyValueParam);
//console.log(“bluekai values passed! : ” + [values]);
}
} catch(e) {}
//console.log(script.getAttribute(‘ads-key-value’));
script.setAttribute(‘video-segment’, “DÜNYA”);
script.setAttribute(‘video-analytical’, “UA-186571064-1”);
script.setAttribute(‘site-id’, “OTQw”);
Element.prototype.appendAfter = function (element) {
element.parentNode.insertBefore(this, element.nextSibling);
}, false;
script.appendAfter(document.getElementById(‘vidyome-container’));
if(autoPlay==true) {
setTimeout(function(){
var videoPlayer = document.querySelector(“.vme_mediaelement”);
var playerEvent = document.getElementById(videoPlayer.childNodes[0][‘id’]);
if (paused==false && playerState==false) {
playerEvent.play();
createHitCounter();
playerState=true;
//paused=true;
}
}, 3000);
}
myAnchor = document.getElementById(“vidyome-container”);
myAnchor.onclick = function() {
var vidyome = document.getElementById(“vidyome-container”);
var vidyoTag = vidyome.querySelectorAll(“video”);
vidyoTag[0].addEventListener(‘play’, function(){
if (!paused) {
createHitCounter();
playerState=true;
}
});
vidyoTag[0].addEventListener(‘pause’, function(){
paused = true;
});
/*vidyoTag[0].addEventListener(‘seeking’, function(){
paused = true;
});*/
}
function createHitCounter()
{
var script = document.createElement(‘script’);
script.src = “//api.haber7.com/content/hit/video/282256″;
document.head.appendChild(script);
}
/*var vmeObject = document.querySelectorAll(‘script[id^=”vme_player_”]’);
var id = vmeObject[0].getAttribute(‘id’);
console.log(‘ID : ‘, id);*/

Azerbaycan’da kaçan bir şahsı yakalamak üzere eve baskın düzenleyen polis ile kaçak şahıs arasında çıkan çatışmada 3 polis ve 1 sivil hayatını kaybetti.

Başa dön tuşu