The Invintus WordPress Plugin allows you to easily integrate Invintus video content into your WordPress site. It provides a custom post type for managing Invintus videos, settings for configuring your Invintus API credentials, and webhooks to automatically create and update video pages based on Invintus actions.
You need an account at Invintus to use this plugin. Please ensure you have your API credentials ready.
- Custom post type for Invintus videos
- Settings page for API configuration
- Player preference selection
- Modern block editor support
- Automatic video embedding
- Webhooks to update video status and metadata
- Log in to your WordPress dashboard.
- Go to Plugins > Add New.
- Click the "Upload Plugin" button at the top of the page.
- Click "Choose File" and select the
invintus.zip
file. - Click "Install Now".
- After installation completes, click "Activate Plugin".
- Download the latest release zip file.
- Unzip the file.
- Upload the
invintus
folder to your/wp-content/plugins/
directory via FTP or file manager. - Log in to your WordPress dashboard.
- Go to Plugins > Installed Plugins.
- Find "Invintus" in the list and click "Activate".
- Activate the plugin in WordPress admin.
- Go to Invintus Videos > Settings.
- Enter your API credentials:
- API Key
- Client ID
Alternatively, you can define these in your wp-config.php
:
define( 'INVINTUS_API_KEY', 'your-api-key' );
define( 'INVINTUS_CLIENT_ID', 'your-client-id' );
- Go to Invintus Videos > Add New.
- Enter the video details, including the title, description, and any other relevant information.
- Publish the video.
The plugin provides a sidebar in the block editor to manage video metadata. To access it:
- Edit a video post.
- Click on the "Invintus Metadata" option in the sidebar.
- Update the metadata fields as needed.
The plugin is designed to receive webhooks from Invintus to automatically create and update video pages. When an Invintus action occurs, the plugin will:
- Create a new video page if it doesn't exist.
- Update the status and metadata of the video page.
To set up webhooks in WordPress:
-
Ensure you have a user called "invintusHooks" in your WordPress site. If not, create one:
- Go to Users > Add New.
- Fill in the required details and set the username as "invintusHooks".
- Assign an appropriate role of Administrator.
- Click "Add New User".
-
Add an application password for the "invintus-hooks" user:
- Go to Users > All Users.
- Click on the "invintusHooks" user to edit the user profile.
- Scroll down to the "Application Passwords" section.
- Enter a name for the application password (e.g., "Invintus Webhook") and click "Add New Application Password".
- Copy the generated application password and save it securely. You will need this password to authenticate the webhook requests.
-
Contact Invintus support through the support portal in the control center. Provide them with the following information:
- The username ("invintusHooks") and the application password you generated.
- The URL to your WordPress site where the webhook should be sent:
https://your-wordpress-site.com/wp-json/invintus/v2 for adding/updating https://your-wordpress-site.com/wp-json/invintus/v2/events/crud
-
Invintus support will set up the webhook for you based on the provided information.
You can configure various settings for the plugin:
- Go to Invintus Videos > Settings.
- Update the settings as needed, including API credentials and player preferences.
For support, please contact support@invintus.com.