Skip to content

mishrabriju/Mishra-classes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Mishra-classes

Lectures

<title>Misra Class Scheduled Video</title> <style> body { font-family: sans-serif; text-align: center; margin-top: 50px; } #lockOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; color: #fff; font-size: 18px; flex-direction: column; } input { padding: 8px; font-size: 16px; } button { padding: 8px 12px; font-size: 16px; margin-top: 10px; } </style>

📺 Misra Class Stream

Enter Password to Access and Schedule Playback:
Unlock
<script> const targetHour = 12; const targetMinute = 0; const password = "BRIJESHEDREETAAAAA"; const overlay = document.getElementById("lockOverlay"); const msg = document.getElementById("msg"); const video = document.getElementById("myVideo"); function checkPwd() { if (document.getElementById("pwd").value === password) { overlay.style.display = "none"; video.style.display = "block"; schedulePlay(); } else { msg.textContent = "Incorrect password. Try again."; } } function schedulePlay() { function checkAndPlay() { const now = new Date(); if (now.getHours() === targetHour && now.getMinutes() === targetMinute) { video.play(); } else { setTimeout(checkAndPlay, 30000); } } checkAndPlay(); } </script>

About

Lectures

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors