I have a popup on my PHP website with auto-playing YouTube video, I've put a button to <kbd>enter the website</kbd> skipping the popup.
But I want the <kbd>enter the website</kbd> button to be visible only after the youtube video ends.
I have a popup on my PHP website with auto-playing YouTube video, I've put a button to <kbd>enter the website</kbd> skipping the popup.
But I want the <kbd>enter the website</kbd> button to be visible only after the youtube video ends.
If you know the duration of the video, you can use a setTimeout()
JavaScript function to show the skip to enter button after that duration.
$(document).ready(function(){
setTimeout(function(){
$(".hidden").removeClass("hidden");
}, 25000);
});