JavaScript must be enabled to play.
Browser lacks capabilities required to play.
Upgrade or switch to another browser.
Loading…
<input id="codeInput" type="text" placeholder="Enter Code" style="position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); width:18vw; padding:12px; font-size:1.8vw; background:black; color:red; border:3px solid red; font-weight:bold; box-shadow:0 0 10px red; outline:none;"> <<button "Submit">> <<set $enteredCode to (jQuery("#codeInput").val())>> <<if $enteredCode is "09:17:21">> <<goto "SquatPlay">> <<else>> <span style="color:red; font-weight:bold;">Wrong code. Try again.</span> <</if>> <</button>> <script> // ✅ Force Button Styling Again on Load jQuery("#codeInput").css({ "position": "absolute", "top": "50%", "left": "50%", "transform": "translate(-50%, -50%)", "width": "18vw", "padding": "12px", "font-size": "1.8vw", "background": "black", "color": "red", "border": "3px solid red", "font-weight": "bold", "box-shadow": "0 0 10px red", "outline": "none" }); jQuery(".macro-button").css({ "position": "absolute", "top": "calc(50% + 4vw)", "left": "50%", "transform": "translate(-50%, 0)", "padding": "12px 24px", "font-size": "1.5vw", "background": "red", "color": "black", "border": "3px solid black", "cursor": "pointer", "text-transform": "uppercase", "font-weight": "bold", "box-shadow": "0 0 10px black", "transition": "all 0.3s ease-in-out", "z-index": "1000" }); jQuery(".macro-button").hover(function() { jQuery(this).css({ "background": "black", "color": "red", "border": "3px solid red", "box-shadow": "0 0 15px red" }); }, function() { jQuery(this).css({ "background": "red", "color": "black", "border": "3px solid black", "box-shadow": "0 0 10px black" }); }); </script> <div id="glitchTimer">00:00:00</div> <script> function glitchTimer() { let glitchElement = document.getElementById("glitchTimer"); if (!glitchElement) return; // Generate random numbers for the fake timer let hours = String(Math.floor(Math.random() * 24)).padStart(2, "0"); let minutes = String(Math.floor(Math.random() * 60)).padStart(2, "0"); let seconds = String(Math.floor(Math.random() * 60)).padStart(2, "0"); // Apply random glitch text effects let glitchText = `${hours}:${minutes}:${seconds}`; glitchElement.innerHTML = glitchText; // Randomize the next update time for extra glitch effect let randomDelay = Math.random() * 500 + 100; // Between 100ms - 600ms setTimeout(glitchTimer, randomDelay); } // Start the glitch effect glitchTimer(); </script>
<<button "Start Video">> <<run $("#playerContainer").show(); loadYouTubePlayer("9WxSlGxVwDI");>> <</button>> <!-- Hidden video player container --> <div id="playerContainer" style="display:none; text-align:center; margin-top:20px;"> <div id="videoWrapper"> <div id="player"></div> </div> </div> <style> /* ✅ Make Video Player Responsive */ #videoWrapper { position: relative; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ height: 0; overflow: hidden; max-width: 100%; background: black; } #player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style> <script> // List of YouTube video IDs var videoList = ["9WxSlGxVwDI"]; // Add more if needed var videoIndex = 0; var player; // Function to load the YouTube player with a specific video ID function loadYouTubePlayer(videoId) { if (player) { player.loadVideoById(videoId); } else { player = new YT.Player("player", { videoId: videoId, playerVars: { "autoplay": 1, "rel": 0, "controls": 1, "modestbranding": 1, "enablejsapi": 1, "fs": 1 }, events: { "onStateChange": onPlayerStateChange } }); } } // Function to handle the end of a video and load the next one function onPlayerStateChange(event) { if (event.data === YT.PlayerState.ENDED) { videoIndex++; if (videoIndex < videoList.length) { loadYouTubePlayer(videoList[videoIndex]); } } } // Load the YouTube IFrame Player API asynchronously (function() { var tag = document.createElement("script"); tag.src = "https://www.youtube.com/iframe_api"; var firstScriptTag = document.getElementsByTagName("script")[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); })(); // Function called by the YouTube API when it's ready function onYouTubeIframeAPIReady() { // The player will be created when the button is clicked } </script>