Video Player

Secure video playback for live and on-demand content

Main Player

Access the video player with a specific video ID:

/player/console?videoId=YOUR_VIDEO_ID

Example:

/player/console?videoId=test-vod

📱 Embedded Player

Use the embedded player for iframes and third-party integration:

/player/embed?videoId=YOUR_VIDEO_ID

Example:

/player/embed?videoId=test-vod

Features

  • Live streaming via AWS IVS with signed tokens
  • On-demand video (HLS/MP4) with CloudFront CDN
  • Secure, server-side credential generation
  • Multiple player backends (Amazon IVS Player, Bitmovin)
  • Iframe-embeddable player for external sites

Configuration

Required environment variables in .env.local:

  • • AWS_REGION
  • • AWS_ACCOUNT_ID
  • • AWS_ACCESS_KEY_ID
  • • AWS_SECRET_ACCESS_KEY
  • • CLOUDFRONT_DOMAIN
  • • CLOUDFRONT_KEY_PAIR_ID
  • • IVS_KEY_ARN
  • • DYNAMODB_VIDEOS_TABLE

See the README for complete setup instructions and API documentation.