I want a button to appear in the fifth second of the video html5
I have a video tag. I want to appear a button 'next' When 5 seconds have passed from the video. Below code but not work. <script> var vid1 = document.getElementById("MyVid1"); var btn = document.getElementById("btn"); btn.style.display = "none"; vid1.play(); if(vid1.currentTime==5){ btn.style.display…