2 Russian orphans whose parents were killed in Iraq arrive in Moscow (VIDEO)

2 Russian orphans whose parents were killed in Iraq arrive in Moscow (VIDEO)

Get short URL'),
link: "https://www.rt.com/news/403260-iraq-russian-children-moscow/"
},
events: {
onReady: function () {
if(ga) {
ga('send', 'event', 'JWPLAYER-GA', 'CLICK PLAY', location.href);
ga('send', 'event', 'JW Player Article', 'Ready', location.href); // Временно эти дублирующие счетчики остаются
}
},
onPlay: function () {
myStreamingTag.playVideoContentPart(metadata);
if(ga) {
ga('send', 'event', 'JWPLAYER-GA', 'CLICK PAUSE', location.href);
ga('send', 'event', 'JW Player Article', 'Play', location.href);
}

var playingVideoId = 'js-mediaplayer-59ba21d3fc7e93460f8b4567'; // id текущего плеера
pauseMedia(playingVideoId); //запускаем функцию остановки всех играющих плееров кроме этого Код функции ниже по коду
},
onPause: function () {
myStreamingTag.stop();
},
onComplete: function () {
myStreamingTag.stop();
if(ga) {
ga('send', 'event', 'JWPLAYER-GA', 'COMPLETE', location.href);
ga('send', 'event', 'JW Player Article', 'Complete', location.href);
}
}
}
});

jwplayer("js-mediaplayer-59ba21d3fc7e93460f8b4567").addButton(
"https://www.rt.com/static/libs/jwplayer/img/download.png",
"Download",
function () {
window.location.href = "https://img.rt.com/files/2017.09/59ba21d3fc7e93460f8b4567.mp4?event=download";
},
"download"
);

function pauseMedia(playingMediaId) {
var players = document.querySelectorAll('.jwplayer, object');

for (var i = 0, max = players.length; i

Toggle This