function getCookie(cookieName) {
let cookie = {};
document.cookie.split(‘;’).forEach(function (el) {
let [key, value] = el.split(‘=’);
cookie[key.trim()] = value;
})
return cookie[cookieName];
}
var playing = false;
var lastPopup = 0;
function showPopup(time) {
let videoElement = document.querySelector(‘.veri-video-player’).querySelector(‘video’);
let videoId = videoElement.getAttribute(‘data-video-id’);
let updateUrl = videoElement.getAttribute(‘data-api-url’);
console.log(‘Sending request with time: ‘ + time + ‘ video id: ‘ + videoId)
let watchTimeUrl = updateUrl + ‘/videos/update_watchtime’;
fetch(watchTimeUrl, {
method: ‘POST’,
cache: “no-cache”,
mode: “cors”,
headers: {
“Content-Type”: “application/json”,
},
body: JSON.stringify({
video_id: videoId
})
}).then(function (res) {
return res.json()
})
}
function checkPopup(time) {
// Number 5 is the interval for every update, Please don’t change it
// In case you have to change it please update it on the API as well to get accurate data.
if (playing && time – lastPopup >= 5) {
showPopup(time);
lastPopup = time;
}
}
videos = document.getElementsByClassName(‘veri-video-player’);
lastIndex = videos.length;
video = videos[lastIndex – 1];
license = video.getAttribute(‘data-license’);
src = video.getAttribute(‘data-url’);
player = videojs(video)
player.on(‘play’, function () {
playing = true;
});
player.on(‘pause’, function () {
playing = false;
});
player.on(‘ended’, function () {
lastPopup = 0;
});
video.onloadedmetadata = function () {
console.log(this.duration);//this refers to myVideo
};
player.on(‘timeupdate’, function () {
// Get the current time and duration of the video
var currentTime = player.currentTime();
var duration = player.duration();
// checkPopup(currentTime);
// console.log(currentTime)
// console.log(duration);
});
player.eme();
player.src({
src: src,
type: license ? ‘application/dash+xml’ : ”,
keySystems: {
‘com.widevine.alpha’: {
url: “https://0ffcee92.drm-widevine-licensing.axprod.net/AcquireLicense”,
licenseHeaders: {
“x-axdrm-message”: license
}
}
}
});
var playPromise = player.play();
Jamiu Abiola, the son of the late M.K.O Abiola in an interview with Arise News on Monday expressed his admiration for President Bola Tinubu’s unwavering commitment to the importance of June 12 and the satisfaction that June 12 now has for him.
He described Tinubu as one of the most loyal advocates of the June 12 movement which translated to the enthronement of democratic governance in Nigeria in 1999.
“I commend President Tinubu because he was always fighting for June 12. The president has been coordinating from the background.
“I’m very happy that at least now, it makes a lot of sense to me that one of the people and the most loyal person that fought for June 12 has now become president.”
He expressed his satisfaction in President Tinubu’s Democracy Day speech as the President connected late M.K.O Abiola’s historic victory with what is currently happening in Nigeria.
Recognizing the importance of his father’s struggle, Jamiu Abiola stated that Nigeria now has a leader who not only understands the importance of the fight for democracy but also stands in the best position to make the best decisions for Nigerians.
He said; “In the history of Nigeria, we now have a president that fought for democracy. He knows what it means to fight for democracy, so he is in a better position to do the right thing.
“He was the one followed my dad to meet General Abacha when he took over to ask the way forward.”
Speaking on the just concluded 2023 general elections, Jamiu Abiola stated the era of social media in propagating fake news is a major challenge in Nigeria’s modern day elections.
He however stated that despite these hurdles, the election was keenly contested and holds a certain level of fairness, as evidenced by the acceptance of the results.
He said; “This election is different in the sense that we live in different times. We live in a time of fake news, we live in a time of social media. We didn’t have to go through that then.
“So a lot of things that we hear we also have to be very careful what we believe and unfortunately for us, we’re not in a position to actually know how to tell truth from the falsehood but one thing I do know is that the election was keenly contested and I also know that if it wasn’t free and fair to a certain level by now, you know people would not have accepted the result.
“Because you know if it was rigged and like people were so sure of it we will not had so much peace in this country.”
Eloho Otugo
The post Jamiu Abiola: I’m Happy That One of the Most Loyal People That Fought For June 12 Has Become President appeared first on Arise News.