- Windows machine
- Node.js v22+
- CasparCG server running on localhost with default settings
- Clone this repo
- Run
npm install
in the directory - Copy the
MAIN.html
and Reith font files from the/templates
folder of this repo into thetemplate/main
folder of your CasparCG server (create themain
folder if it doesn't exist) - Run
npm run start
in this repo in the terminal to start the script
When the script starts, the ticker should animate into the CasparCG viewport. An update message will be passed every second with a string that contains an up to date timestamp, so the time will update in the video feed in CasparCG also.
npm run test
to run unit testsnpm run test:coverage
to run unit tests with coverage reportnpm run start:demo
to run a short demo script that demonstrates the calling ofleftTab('on')
followed byleftTab('off')
after 5 seconds. This will show the ticker animating into and out of the viewport per the requirements.