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();
Former Emir of Kano, Muhammad Sanusi II, has lauded President Bola Tinubu for solving, once and for all, the double hedged issues of fuel subsidy and multiple exchange rate regimes.
The former Governor of Central Bank of Nigeria (CBN), who met with the President on Thursday evening, told newsmen that he was at the State House to show solidarity for his friend who is taking all the right steps as Nigerian leader.
According to him: “The first reason was to come and congratulate him formally, but also because I wear many caps, I wear the cap of an economist so I came to thank him for the steps he has taken to put this economy on course.
“As you know many of the issues that we’ve talking about; the subsidy that has cause a hemorrhage on the fiscal’s, the multiple exchange rates regime and on. These are issues that I have personally been talking about for a long time and I’m happy that on his very first day, he has addressed these issues and the markets are happy.
“It’s important when the government does the right thing for us to give them feedback. It’s not always when they do the wrong thing that we complain. So he has started on such a strong footing and as far as the economy is concerned, we have to come and support and encourage that we continue along that path and be advocates for the policies he has pursued”.
Sanusi also said he received the assurances of President Tinubu that the federal government will take a closer look at the Nigerian Air Force raid that killed at least 37 herders in Nasarawa state in January, this year.
His words: “I’m concerned with the issue of herdsmen – farmer clashes. He (President Tinubu) is also concerned. And we discussed steps that need to be taken to begin to look at some of those issues.
“But in particular, I came to appeal to him on the case of the 37 herdsmen who were bombed by the airforce in Nasarawa state a few months ago which we wrote a letter to President Buhari on.
“And we have now written a reminder because it was a matter we didn’t want to be swept under the carpet. The President has asked me to send him that letter and I’m sure that he will look into the matter.”
In January, 2023, the Miyetti Allah Cattle Breeders Association of Nigeria (MACBAN) accused the Nigerian Air Force of killing its members in the Rukubi community of Doma Local Government Area of Nasarawa State.
MACBAN President, Baba Ngelzarma, alleged that the herders, numbering about 40 were killed by operatives of the Nigerian Air Force Base in Makurdi, Benue State.
According to him, they were returning from Makurdi, the Benue State capital, where they went to retrieve over 1,000 cows seized by the Benue Livestock Guards.
He said that after the payment of fines totalling N29m, some of the livestock were released to the herders by the guards. However, they were trailed and killed while offloading the cattle shortly after they reached their destination in Nasarawa.
MACBAN had condemned the attack describing it as a war crime under the Geneva convention that prohibits the indiscriminate killing of livestock.
Deji Elumoye
The post Former Kano Emir Sanusi Commends President Tinubu For Removing Fuel Subsidy And Ending Multiple Exchange Rate appeared first on Arise News.