maziggy 815866c364 Demo video před 4 měsíci
..
.gitignore 815866c364 Demo video před 4 měsíci
README.md 815866c364 Demo video před 4 měsíci
package-lock.json 815866c364 Demo video před 4 měsíci
package.json 815866c364 Demo video před 4 měsíci
record-demo.ts 815866c364 Demo video před 4 měsíci

README.md

Bambuddy Demo Video Recorder

Automated demo video recording using Playwright.

Setup

cd demo-video
npm install
npm run install-browsers

Recording

Record with visible browser (recommended for debugging)

npm run record

Record headless (faster, no window)

npm run record:headless

Custom URL

DEMO_URL=https://your-bambuddy.example.com npm run record

Output

Videos are saved to output/ as .webm files.

Convert to MP4

ffmpeg -i output/video.webm -c:v libx264 -crf 23 demo.mp4

Convert with better quality

ffmpeg -i output/video.webm -c:v libx264 -crf 18 -preset slow demo.mp4

Customization

Edit record-demo.ts to:

  • Adjust timing (TIMING constants)
  • Add/remove page demonstrations
  • Customize interactions per page
  • Change viewport resolution (CONFIG)