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?

The quick and dirty way is, with a semi-recent prod database backup, changing the cloudfront config URLs to match production settings from ansible/inventory/group_vars which are largely in the file all. Then, log into your VM:
vagrant ssh
sudo vim /etc/php/5.6/fpm/pool.d/www.conf
Now edit the following settings to match production:
# Comment out your local settings:
#env[cloudfront_domain] = "<original>"
#env[cloudfront_key] = "<original>"
#env[cloudfront_pem] = "<original>"
#env[cloudfront_distribution] = "<original>"

# Put production settings in here
env[cloudfront_domain] = "put-prod-cloudfront.cloudfront.net"
env[cloudfront_key] = "put-prod-key-here"
env[cloudfront_pem] = "put-prod-pem-here"
env[cloudfront_distribution] = "put-prod-cloudfront_distribution-here"
Now restart FPM:
sudo service php5-fpm restart
When you are done testing, make sure you put them back how they were!
Back to docs index | UI docs index | Next page in recommended reading order >>