Skip to main content

Video player

We use JW Player. Details of the account are in the operations document.

How do I view a video?

Previews are served over signed CloudFront URLs, so to play production videos locally the API needs CloudFront credentials that the relevant distribution accepts. Prefer a non-production / test CloudFront distribution and its keys. As a last resort, with a semi-recent prod database backup, the API’s CloudFront settings can point at production.
Production CloudFront private keys are sensitive credentials — avoid copying them onto developer machines. Use a non-production distribution where possible, and never commit these keys.
These are environment variables on the API:
cloudfront_domain
cloudfront_key
cloudfront_pem
cloudfront_distribution
Set them to the production values in your local API environment (for example in docker-compose.override.yml or your local env file), then restart the app container:
docker-compose restart app
When you’re done testing, put them back the way they were.
Back to docs index | UI docs index | Next page in recommended reading order >>