<![CDATA[
window.adsNinja = window.adsNinja || {};
window.adsNinja.queue = window.adsNinja.queue || [];
window.adsNinja.queue.push(function(){
var functionToRun = function(){
var fallbackContent = `
Your browser does not support the video tag.
`;
let result = null;
try{
result = window.adsNinja.monetizeVideo(‘.emaki-video-player-aeb36e5433f36b21′, JSON.parse(`{“name”:”Instream-Feature”,”groupName”:”content”}`), JSON.parse(`{“trackingId”:”video-type”,”playlist”:[{“title”:”I Was A Stranger Official Trailer”,”description”:”Exclusive: ScreenRant presents the trailer for Angel Studios’ new film, I Was A Stranger, set against the backdrop of the Syrian Civil War.The festival darling, starring Lupin’s Omar Sy, arrives in theaters on January 9.”,”length”:”2:24″,”mimeType”:”video\/mp4″,”url”:”https:\/\/video.srcdn.com\/2025\/12\/sr_i-was-a-stranger_trailer-1765460498.mp4″,”thumbnailLink”:”https:\/\/static0.srcdn.com\/wordpress\/wordpress\/wp-content\/uploads\/2025\/12\/omar-sy-in-i-was-a-stranger.jpg?fit=crop&w=1024&h=576″,”textTracks”:[{“kind”:”subtitles”,”label”:”English”,”language”:”en”,”url”:”https:\/\/video.srcdn.com\/2025\/12\/sr_i-was-a-stranger_trailer-1765460498-1765460669.vtt”,”default”:false}]}]}`));
if(!result){
console.warn(‘Failed to load AdsNinja video player.’);
document.getElementById(’emaki-video-player-aeb36e5433f36b21′).innerHTML = fallbackContent;
}
}
catch(error){
console.warn(‘Failed to load AdsNinja video player.’);
document.getElementById(’emaki-video-player-aeb36e5433f36b21′).innerHTML = fallbackContent;
} finally {
if(!result) {
let videoPlayerContainer = document.getElementById(’emaki-video-player-aeb36e5433f36b21′);
if(videoPlayerContainer) {
let videoPlayer = videoPlayerContainer.querySelector(‘video’);
videoPlayerWaypoint = new Waypoint.Inview({
element: videoPlayerContainer,
enter: function (direction) {
if(direction == ‘up’){
this.element.classList.remove(‘video-player-floating’);
}
},
entered: function (direction) {
if(direction == ‘up’){
this.element.classList.remove(‘video-player-floating’);
}
},
exit: function (direction) {
if(direction == ‘down’ && !videoPlayer.paused) {
this.element.classList.add(‘video-player-floating’);
}
},
exited: function (direction) {
if(direction == ‘down’ && !videoPlayer.paused) {
this.element.classList.add(‘video-player-floating’);
}
},
offset: -50
});
videoPlayerContainer.querySelector(‘button.prem-player-close’).addEventListener(‘click’, function() {
videoPlayerContainer.classList.remove(‘video-player-floating’);
if(videoPlayer) {
videoPlayer.pause();
}
});
videoPlayer.addEventListener(‘fullscreenchange’, function () {
Waypoint.refreshAll();
});
}
}
}
};
if(typeof window.adsNinja.scheduleOnReadyState === ‘function’){
window.adsNinja.scheduleOnReadyState(‘complete’, functionToRun);
}
else{
window.adsNinja.queue.push(functionToRun);
}
});
]]>







