South Africa Marks ‘Heritage Day’ in Abuja

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

South Africa has marked its Heritage Day in Abuja, assuring that the country remains a choice destination for tourism and other fun getaways for Nigerians and citizens of other countries. 

Diplomatic officials of the rainbow nation said the country is also working to build stronger cultural and bilateral ties with Nigeria. 

South Africa, or the Rainbow nation, is one of the top tourist destinations in Africa with a rich culture, one that its people are always keen to put on display, especially during Heritage Days like this one being observed in the Nigerian capital, Abuja. 

Heritage Day is marked every September 24 and the day is observed as a public holiday in South Africa. 

In Nigeria, the South African High Commission has been marking the Heritage Day in Abuja ahead, to showcase fashion, food, music, dance, and other aspects which make South Africans unique. 

Diplomats and other residents of Abuja were in attendance and the event afforded those present with an opportunity to have a feel of the culture and diversity of South Africa up close. 

The High Commissioner of South Africa to Nigeria, Thami Mseleku, who was the event’s host guided guests through the historic journey of his country. 

The High Commissioner who is of Zulu ancestry also entertained guests with some singing and dancing.

The event which continued well into the night, wowed the teeming guests. 

Thekiso Rakolojane, Regional Head of South African Tourism, says the country is a choice destination for fun getaways and tourism. 

Rakolojane says South Africa and Nigeria have a lot to gain from improved cultural and bilateral ties between both countries. 

And a cross section of those present to mark the Heritage Day are thrilled by South Africa and what it represents.

This is a South African event, and one standout feature of their culture is the energetic Zulu dance steps. This was performed by a Nigerian music troupe based in Lagos.

Godfrey Eshiemoghie

The post South Africa Marks ‘Heritage Day’ in Abuja appeared first on Arise News.