portonefive / how-to-videos
Display a collection of how to videos.
Requires
- php: >=7.0.0
- guzzlehttp/guzzle: ^6.3
- lara-press/framework: 5.5.*
This package is not auto-updated.
Last update: 2024-11-23 20:04:38 UTC
README
Display an admin page in the backend of LaraPress, with a grid of videos from a Wistia Project.
Installation
composer require portonefive/how-to-videos
Publishing Configuration Files
In your console you'll run the following command to publish the config, view and css files;
php artisan vendor:publish
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.
This can be found under wistia.com > Account > Advanced > API Access.
- 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.
For this url, https://portonefive.wistia.com/projects/5jihj33txi
we
want 5jihj33txi
.
Menu Position
You can also set the WordPress menu position weight in your config or env
files with the HTV_ADMIN_MENU_POSITION
key.