Learn how to integration Mux with WordPress. The Mux Video Uploader by 2Coders plugin connects WordPress with your Mux account so you can upload, manage and embed videos on your site or application from your WordPress account.
This guide explains how to integrate Mux with WordPress using the Mux Video Uploader plugin by 2Coders. This integration enables you to leverage Mux's powerful video infrastructure while maintaining the familiar WordPress content management experience.
Follow the steps below to integrate Mux with your WordPress site
WordPress plugin can be installed either from WordPress Plugin Directory or Manually by uploading a zipped plugin file.
You should be on WordPress.com Business pricing plan or higher to install the Mux Video Uploader plugin. However, there is no such requirement for Self-Hosted WordPress instance.
In your WordPress admin panel, navigate to Plugins > Add Plugin
on the sidebar
Search and select "Mux Video Uploader by 2Coders"
Click Install and activate
button on the plugin page.
Download the plugin ZIP file from the WordPress.org site.
In your WordPress admin panel, go to Plugins > Add Plugin
Click Upload Plugin and select the downloaded ZIP file
Click Install Now and then Activate Plugin
After the plugin is properly installed, you should see the Mux Video Uploader plugin on the Installed Plugins
page.
If you don't already have a Mux account:
Sign up at mux.com
After creating your account, navigate to your dashboard
Generate API credentials (you'll need both an API ID and Secret Key)
The access token should have Mux Video Read and Write permissions as well as Mux Data (read-only).
In your WordPress admin panel, locate the new Mux Video menu item
Go to Mux Video > Settings
Enter your Mux API credentials (API ID and Secret Key)
Click Save Settings
The video below shows how to upload a video on WordPress using the Mux Video Uploader plugin. You can also enable advanced features, like Signed URLs, Subtitles & Captions and MP4 generation during asset creation or later on from the Assets List
page.
The uploaded video can be added to your WordPress site using the Gutenberg Block Editor
Insert
When uploading a new video, you can select which Video Quality Levels is used when preparing the Asset. Possible selections are Basic
, Plus
and Premium
. More details can be found in our Use Video Quality Options guide.
Each Asset can be enabled to generate downloadable MP4s. You can select Highest
or Audio-Only
or both. This will create Static Renditions for the Asset and will make MP4 files available for download to client devices using a formatted URL.
When uploading a new video, you can select Protected
option when you want to secure the video playback and Public
to make the video publicly available. Learn more about Secure video playback.
Mux Video Uploader plugin creates a signing key when configuring the Access Tokens on the plugin's Settings page. The plugin generates Signed URLs when Protected
option is selected when uploading the video and available on the Asset page as shown in the image below.
With Mux's auto-generated captions, you can easily add captions to videos uploaded by selecting the language of the spoken words. Mux can generate captions automatically while preparing the asset or later. For generating MP4 later, go to that Asset entry on the Asset List section of the plugin and enable MP4. More details can be found in the Add auto-generated captions to your videos and use transcripts section of our documentation.
Warning! Auto-generate a single caption track
The "Auto-generated" captions configuration should only be used to generate a single language captions track. The language selected must match the spoken language.
Additionally, you can upload one or more custom caption files (during asset creation step or later) for a single asset.