> ## Documentation Index
> Fetch the complete documentation index at: https://help.pixwel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Videoplayer

# 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](/api/database), the API's CloudFront settings can point at production.

<Warning>
  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.
</Warning>

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:

```bash theme={null}
docker-compose restart app
```

**When you're done testing, put them back the way they were.**

***

[Back to docs index](/) | [UI docs index](/ui/overview) | [Next page in recommended reading order >>](/api/overview)
