Watch The Video & Vote For Your Favorite Personality!
You Must Watch At Least 15 Seconds To Vote
let player;
let watchTime = 0;
let requiredTime = 15;
let countdownElement = document.getElementById(“countdown”);
let interval;
function onYouTubeIframeAPIReady() {
player = new YT.Player(‘youtube-video’, {
events: {
‘onStateChange’: onPlayerStateChange
}
});
}
function onPlayerStateChange(event) {
if (event.data == YT.PlayerState.PLAYING) {
interval = setInterval(function () {
watchTime++;
let timeLeft = requiredTime – watchTime;
countdownElement.innerText = timeLeft > 0 ? timeLeft : 0;
if (watchTime >= requiredTime) {
clearInterval(interval);
enableVoteButton();
}
}, 1000);
} else {
clearInterval(interval); // Pause countdown if video is paused
}
}
function enableVoteButton() {
let voteButton = document.getElementById(“epoll_opinion_vote_button”);
if (voteButton) {
voteButton.style.display = “block”;
voteButton.disabled = false;
document.getElementById(“watch-status”).innerText = “You can now vote!”;
}
}
document.addEventListener(“DOMContentLoaded”, function () {
let voteButton = document.getElementById(“epoll_opinion_vote_button”);
if (voteButton) {
voteButton.style.display = “none”;
voteButton.disabled = true;
}
});
let tag = document.createElement(‘script’);
tag.src = “https://www.youtube.com/iframe_api”;
let firstScriptTag = document.getElementsByTagName(‘script’)[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
[IT_EPOLL_POLL id="4593"][/IT_EPOLL_POLL]
The Winning Personality Will Be Proudly Featured At The Top Of Our Homepage For The Next 24 Hours, Until We Find Another Winner. Your Support Helps Us Highlight Amazing Creators.
Don’t Forget To Encourage Your Fans To Vote And Share This Page To Maximize Your Chances Of Winning. Get Ready To Engage, Support, And Vote Daily!