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();
Peter Obi, the Labour Party presidential candidate in Nigeria’s 2023 election, has said that President Bola Tinubu’s lingering certificate issue with the Chicago State University has further worsened the “less than glorious image” of Nigeria, internationally.
Obi said this during a press conference on Wednesday morning, adding that the global embarrassment that the country is currently facing could have been avoided.
He said “To the outsiders, the entire Chicago University matter, as well as Chief Bola Ahmed Tinubu’s many other lingering identity question marks have further worsened Nigeria’s less than glorious image, internationally.
“Uninformed outsiders now see every Nigerian as a fraudster, certificate forger or identity thief. the controversy is unnecessary. Just as the implicit global embarrassment could have been avoided.
“In my opinion, Chief Bola Ahmed Tinubu could have saved the nation and himself this protracted embarrassment and undue anxiety. Chief Tinubu still owes the country and the world a simple obligation only he can discharge.”
The LP presidential candidate also called on President Tinubu to reintroduce himself to the nation and the world at large, rather than outsourcing that responsibility to political surrogates.
“I therefore, respectfully and humbly call on him to immediately and personally mount his president’s high office and perform a simple task once and for all time. He should reintroduce himself to the nation he governs and to the world for avoidance of further doubt. He should let the world know his name, his nationality, his place of birth, his parentage, the primary and secondary schools he attended with dates as well as the actual universities he attended and certificates he obtained.
“He should indicate clearly where and when he did his national youth service. In addition, if at any time, he had a change of name, he should state so clearly and the circumstance. That itself is no crime. this is a simple task that will take only few minutes.
“He must perform this task urgently in order to lay to rest, once and for the last time the many lingering doubt about his true identity.
“A leader cannot outsource a clear, unambiguous personal statement about his identity to political surrogates, official spokespeople, lawyers or any other person, no matter how highly placed. A matter of personal identity of a leader, is too sensitive and central to the function of the office he currently occupies to be outsourced.
“The people deserve to know the true identity of their leader and this overrides whatever rights he may have to personal privacy,” he said.
Chioma Kalu
The post Peter Obi: Tinubu’s CSU Certificate Matter Has Worsened Nigeria’s ‘Less Than Glorious’ Image Internationally appeared first on Arise News.