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();
Dumebi Kachikwu, the former presidential candidate of the Action Democratic Congress (ADC), has said that one of President Bola Ahmed Tinubu’s main errors at this point in his administration is the fact that he has not made appointments for his ministerial cabinet, and that his advisers had missed the mark in assisting him in his duties.
In an interview with ARISE NEWS on Monday morning, the former presidential aspirant said he believed that President Tinubu was in a “‘na me be this’ phase,” where he was thrilled with his becoming the president after a long time, and as such he was focused on receiving family, friends and well wishers rather than focusing on the state of the country.
Kachikwu said, “For someone who wants to hit the ground running, he ought to have had his cabinet ready from day one. He has not done this, and a lot of people are disappointed.”
He then pointed out that the President could only work well with his advisers, which led him to say, “Our president or any president can only be as good as his advisers. I don’t know the people who are advising him, but I believe they’ve gotten it wrong. He’s made some good steps in what he’s trying to do in terms of unifying the exchange rate, but again, you can’t take a step and take two steps forward and take ten steps backwards.”
He gave further examples using the unifying of the exchange rate, which actions that stemmed from had led to a rise in the inflation rate of the country, which counters the fact that the government wants to fight inflation, saying, “Like what I said about the exchange rate, if you see what’s happening at the ports now, the government is now using the new exchange rate to tax all imports into the country. What this means is that we have escalated costs for every good that is coming into Nigeria. That triggers inflation. The government benefits from inflation but the same government says they’re fighting inflation.”
He then said that he expected that the government would have looked critically at the matter as it would eventually have a huge impact on the economy.
He also said fuel subsidy should have been temporarily removed, then put back in place after measures had been cemented to ensure that subsidy is not abused, as Nigerians did not deserve to “suffer for the failures of a few people or for the failure of the government not to be able to manage the process of subsidy.”
Ozioma Samuel-Ugwuezi
The post Kachikwu: Tinubu And His Advisers Have Gotten It Wrong on Subsidy, Exchange Rate appeared first on Arise News.