-
Notifications
You must be signed in to change notification settings - Fork 3
Drupal module installation and configuration
Drupal module is hosted at Github - https://github.com/fivejars/openy_vyva
You should have Open Y Virtual Y modules installed. See https://github.com/ymcatwincities/openy_gated_content.
With Composer 2+ the installation should be as simple as composer require fivejars/vyva.
Try installing it with composer require fivejars/vyva.
If it fails, it means that the package is not going to be available at packagist for composer 1.x.
Edit you root composer.json file, add the package information to the repositories sections:
{
"type": "package",
"package": {
"name": "fivejars/vyva",
"version": "1.0.0",
"type": "drupal-module",
"dist": {
"url": "https://github.com/fivejars/openy_vyva/archive/1.0.0.zip",
"type": "zip"
}
}
}Now install it with composer require fivejars/vyva.
Install like any other Drupal module:
- Login as an administrator.
- Go to Admin Menu > Extend.
- Find the "Virtual Y Video Automation", tick the checkbox next to it, click on the "Install" button.
- Verify that the module is installed:
- there is Admin menu > Virtual Y > Virtual YMCA settings > Video Automation menu item;
- it navigates to the Video Automation settings form.
The first 2 fields of the Video Automation settings form are Pre-roll video and Post-roll video.
The fields should contain positive integers referencing Vimeo-hosted videos by their ID, e.g. if the video is accessible at https://vimeo.com/143013949 then 143013949 is supposed to be put in the field.
The pre-roll video will be prepended and the post-roll will be appended to all processed videos. At the moment there is only one set of pre- and post-roll videos.
The videos must be uploaded to your Vimeo account for the system to be able to download them.
When a video processing completes, the module creates a Virtual Y Video node and sends an email.
You can specify recipients in the Emails field. Separate emails by comma.
The Email template allows you to control the contents of the email.
AUTHENTICATION SETTINGS and WEBHOOK AUTHENTICATION are covered in https://github.com/fivejars/vyva/wiki/Configure-secure-communication.
VIMEO SETTINGS are covered in https://github.com/fivejars/vyva/wiki/Vimeo-configuration
The auto-generated thumbnails allow you to generate the thumbnails out of HTML. The module provides a special page that takes some attributes in query parameters and outputs them in the page content which is crafted from a special template. The conversion tool is supplied with software that allows taking screenshots of such an HTML page.
These configuration sections allow you to alter the look and feel of that page and configure how to access the screenshot service.
You must specify the paths relative to root to 3 variations of the Cachet font. You must link the WOFF files.
The Screenshot Service URL field should be filled with the link https://%CONVERSION_TOOL_DOMAIN%/shot, where %CONVERSION_TOOL_DOMAIN% is the domain name for the conversion tool.
If your website is protected by HTTP Basic Authentication the Screenshot service won't able to open the auto-generated thumbnails page. This section lets you specify the username and password for the Screenshot service to pass the authentication.