Setting up Video Hub on several sites — or moving to a new one? Export the plugin settings to a file on one site and import them on the other. Since version 2.3.5, the Export and Import buttons sit next to the title of the Videos → Settings page.
Export
Click Export to download a file with the settings of all the tabs — Post, Content, Image, Import and Embed options — and the player settings.
The YouTube API key, the OAuth credentials and the license key are never exported. The file can be shared without giving away access to your Google project or your license.
Import
Click Import, choose a file created with Export — on this site or another one — and click Import settings. The settings from the file replace the current settings of all tabs.
- Only files exported by the plugin are accepted.
- Settings missing from the file keep their current value — for example when the file comes from an older version.
- Every value is checked the same way as when you save the settings form.
- Your API key, OAuth connection and license key stay unchanged.
After importing on a new site, set up the OAuth connection (the redirect URI is different for every site) and enter your license key.
Moving automatic imports too
Automatic imports have their own Export and Import buttons on the Videos → Automatic import page. The file includes each import’s options — post status, Skip YouTube Shorts, duration limits, “Import new videos right away”, “Don’t import deleted videos again” and the rest. Together with the settings file, a new client site is ready in minutes.
For developers
Add-ons can add their own settings to the file with the cbc_settings_export_data filter and read them back on import with the cbc_settings_imported action.