The integration to Wordpress allows for publishing images and videos from Mediaflow directly in the Wordpress editor. This is a fantastic way for web editors to always have access to GDPR-compliant files with the correct alt texts and accessibility-adjusted videos.
Settings in Mediaflow
The integration to WordPress can be used as soon as it is installed. However, for the files to be accessible and usable optimally, you need to have prepared the settings for them in Mediaflow first.
Install the WordPress Integration
Download the integration or get it directly in the WordPress plugin manager:
-
Go to Plugins.
-
Search for the Mediaflow plugin and activate it.
The plugin will be added to the list of other plugins.
System Requirements
-
The plugin works for modern versions of WordPress. See the information page of the plugin on wordpress.org for current version support.
-
To be able to embed videos, you need to use the editor through Gutenberg. Gutenberg is the codename for the block-based editor introduced in WordPress 5, replacing the classic WordPress editor built on TinyMCE.
Configure the Integration/Plugin
You configure the plugin by entering information in three fields in WordPress so that the plugin can retrieve information from your Mediaflow account.
You need to provide:
-
Client ID
-
Client Secret
-
Refresh token (ServerKey)
You will receive the Client ID and Client Secret separately from us when you order the plugin. If you haven’t received these, contact Mediaflow support.
You can find the Refresh token (ServerKey) in your Mediaflow account under Settings > Integrations > WordPress.
Copy these three values, paste them into the settings for WordPress, and save. Configuration only needs to be done once per installation. You can also link multiple WordPress sites to the same Mediaflow account.
You can access the settings for the Mediaflow plugin either via Plugins > Settings or Settings > Mediaflow.
Or via Settings - Mediaflow
In the settings, you can also choose whether a user must fill in an alt text to be able to embed an image. Alt texts filled in Mediaflow will follow along in the integration.
Configure with API
Another way to configure the integration is by entering the API keys in the $_ENV superglobal on the server. This increases security since the keys will not be directly visible in the WordPress admin interface.
Add the text below to your $_ENV with your keys after the =: