How To Videos
Display an admin page in the backend of LaraPress, with a grid of videos
from a Wistia Project., (*1)
Installation
composer require portonefive/how-to-videos, (*2)
Publishing Configuration Files
In your console you'll run the following command to publish the config,
view and css files;, (*3)
php artisan vendor:publish, (*4)
Setting Required Config Values
In order to access the Wistia account, you'll to define the
HTV_WISTIA_API_KEY in your config or env file., (*5)
This can be found under wistia.com > Account > Advanced > API Access., (*6)
- Click New Token
- Input the project name for Token nickname
- Check Read all data
- Click Create Token
Next, you'll to define the HTV_WISITIA_PROJECT_ID, which is the project we
want to pull videos from. This can be found by navigating to the project
you want and copying the id from the url., (*7)
For this url, https://portonefive.wistia.com/projects/5jihj33txi we
want 5jihj33txi., (*8)
You can also set the WordPress menu position weight in your config or env
files with the HTV_ADMIN_MENU_POSITION key., (*9)