This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
let isVideoHandled = false; // Flag to indicate if the video has been handled | |
const checkVideoStart = () => { | |
const video = document.querySelector('#movie_player > div.html5-video-container > video'); | |
if (!video) return; | |
// When the video starts playing (currentTime changes from 0), pause it | |
if (video.currentTime > 0 && !video.paused) { | |
video.pause(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create directories and files | |
mkdir -p ./components/ui | |
mkdir -p ./lib | |
touch ./lib/utils.ts | |
# Prompt to move globals.css | |
echo "Would you like to move globals.css to styles/globals.css? (y/n)" | |
read -r -p "[Y/n]: " move_response |