Tinubu Appoints Ribadu, Edun, Alake, Five Others Special Advisers

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();

More than two weeks after his inauguration as President Bola Tinubu, on Thursday appointed Nuhu Ribadu, Dele Alake, Wale Edun and five others as Special Advisers.

According to a release issued by State House Director of Information, Mr Abiodun Oladunjoye, President Bola Tinubu has approved the appointment of eight Special Advisers.

They include Mr. Dele Alake, Special Adviser, Special Duties, Communications and Strategy; Mr. Yau Darazo, Special Adviser, Political and Intergovernmental Affairs; Mr. Wale Edun, Special Adviser, Monetary Policies and Mrs. Olu Verheijen, Special Adviser, Energy.

Others are Mr. Zachaeus Adedeji, Special Adviser, Revenue; Mr. Nuhu Ribadu, Special Adviser, Security, Mr. John Ugochukwu Uwajumogu, Special Adviser, Industry, Trade and Investment and Dr (Mrs.) Salma Ibrahim Anas, Special Adviser, Health.

The National Assembly had last week approved 20 Special Advisers for President Tinubu.

 Deji Elumoye in Abuja

The post Tinubu Appoints Ribadu, Edun, Alake, Five Others Special Advisers appeared first on Arise News.