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();
The Nigerian Presidency’s Media and Publicity team has issued a corrigendum acknowledging that President Bola Tinubu is not the first African leader to ring the closing bell at the NASDAQ stock exchange, contrary to an earlier statement.
This follows a September 21 statement by Special Adviser to the President on Media and Publicity, Ajuri Ngelale, which claimed that his principal, is the first African leader to have rung the closing bell at NASDAQ.
On September 21, 2011, in New York City’s Times Square, President Jakaya Kikwete of Tanzania participated in the closing ceremony at NASDAQ, symbolising his support for Global Health Commitments related to Women’s Health and Women’s Cancers.
This event took place in the presence of First Ladies, Health Ministers, and prominent figures in the field of Global Health.
President Tinubu, on September 20, had concluded the trading session at NASDAQ, by also participating in the closing bell ceremony.
But the official press statement signed by Ngelale was titled “President Tinubu Becomes First Ever African Leader To Ring Closing Bell At NASDAQ; Woos Large Scale Investment At The Nigeria-U.S Executive Business Roundtable.”
Ngelale’s statement attracted reactions across traditional and social media, with the ARISE News Channel airing Kikwete’s video, as well as those of other Nigerians that have rung the bell at either NASDAQ or the New York Stock Exchange.
Following this, the Presidency retracted the statement, clarifying that it was misled.
It read, “We inadvertently referred to President Bola Tinubu as the first African leader to ring the bell at NASDAQ on Wednesday in New York, based on the information provided by a third-party event organiser.
“This error is sincerely regretted.”
Frances Ibiefo
The post Presidency Retracts Statement Claiming Tinubu Is First African Leader To Ring NASDAQ Closing Bell appeared first on Arise News.