portonefive/how-to-videos

There is no license information available for the latest version (5.5.0) of this package.

Display a collection of how to videos.

5.5.0 2018-07-24 18:59 UTC

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.

  1. Click New Token
  2. Input the project name for Token nickname
  3. Check Read all data
  4. 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.