How to Embed a Vidalytics Video in WordPress
WordPress is one of the most popular website builders, but embedding a video can vary depending on the type of WordPress environment you're using. In this guide, we’ll cover the best methods for embedding your Vidalytics video within WordPress.
Understanding WordPress Versions
There are two main versions of WordPress:
WordPress.org – The fully customizable, self-hosted version of WordPress. It supports themes, plugins, and requires paid hosting.
WordPress.com – A free, blog-style version of WordPress with limited themes and no plugin support unless upgraded to a paid plan. Paid versions may support plugins.
Most Vidalytics users work with WordPress.org, the self-hosted version, as it offers greater flexibility.
Compatibility with Vidalytics
WordPress.org – Fully compatible with Vidalytics.
Free WordPress.com – Not compatible, as it does not allow custom embed code.
Paid WordPress.com – May be compatible by enabling user permissions using a plugin like Leira Roles. If using such a plugin, be sure to enable the
unfiltered_html
capability for yourself and trusted users before embedding your video.
Embedding a Vidalytics Video in WordPress
To embed your Vidalytics video within WordPress, follow these steps:
Open your WordPress Site Editor.
Select the Custom HTML block and drag it into the section where you want your video to appear.
Copy the embed code from Vidalytics.
Paste the embed code into the Custom HTML block in WordPress.
Save your changes, and your video is ready to go! 🚀
Using oEmbed on WordPress
If you prefer using oEmbed, follow these steps:
1. Add the following line to your theme’s functions.php file:
wp_oembed_add_provider( 'https://preview.vidalytics.com/vid/*', 'https://preview.vidalytics.com/oembed' );
2. In the WordPress editor, search for the Embed block.
3. Copy the Quickshare Link from your Vidalytics dashboard.
4. Paste the Quickshare Link into the Embed block.
5. Click the Embed button, and your video will appear directly in the editor!
For any additional questions or assistance, feel free to reach out to our support team at [email protected]. 😊