Skip to content

mattbbc/casparcg-exercise

Repository files navigation

CasparCG Exercise

Prerequisites

  • Windows machine
  • Node.js v22+
  • CasparCG server running on localhost with default settings

Setup

  • 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 the template/main folder of your CasparCG server (create the main 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.

Other Scripts

  • npm run test to run unit tests
  • npm run test:coverage to run unit tests with coverage report
  • npm run start:demo to run a short demo script that demonstrates the calling of leftTab('on') followed by leftTab('off') after 5 seconds. This will show the ticker animating into and out of the viewport per the requirements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published