Skip to content
English
  • There are no suggestions because the search field is empty.

How to Embed a Vidalytics Video in WordPress

How to add your Vidalytics video to a WordPress site — using a standard embed code or oEmbed.

WordPress is one of the most popular website builders, and embedding a Vidalytics video is straightforward once you know which version of WordPress you are working with. This guide covers everything you need to know to get your video live.

Understanding WordPress Versions

There are two main versions of WordPress, and they work differently with Vidalytics:

  • WordPress.org — the fully customizable, self-hosted version of WordPress. It supports themes, plugins, and custom code. This is the version most Vidalytics users work with, and it is fully compatible with Vidalytics
  • WordPress.com (Free) — a free, blog-style version of WordPress with limited customization and no support for custom embed code. Not compatible with Vidalytics
  • WordPress.com (Paid) — paid plans may support plugins. Compatibility with Vidalytics is possible by enabling user permissions using a plugin like Leira Roles. If using this approach, make sure to enable the unfiltered_html capability for yourself and any trusted users before embedding your video

Option 1 — Embed Using Custom HTML 

This is the most straightforward method and works for all WordPress.org sites.

Open your WordPress Site Editor and navigate to the page or post where you want your video to appear.

Add a Custom HTML block — search for the Custom HTML block and drag it into the section where you want the video to display.

Paste your embed code — copy your embed code from Vidalytics and paste it directly into the Custom HTML block.

Save your changes — your video is ready to go! 

Option 2 — Embed Using oEmbed 

If you prefer a cleaner, link-based approach, you can use WordPress's built-in oEmbed functionality. This requires a quick one-time setup.

Add the oEmbed provider — open your theme's functions.php file and add the following line of code:

wp_oembed_add_provider( 'https://preview.vidalytics.com/video/*', 'https://preview.vidalytics.com/oembed' ); 

This tells WordPress to recognize Vidalytics video links and display them as embedded players automatically. This only needs to be done once and will work across your entire WordPress site going forward.

Oembed Link wordpress embed gif

Important: If you are not comfortable editing your functions.php file directly, we recommend working with a developer or using a plugin that allows you to add custom PHP snippets safely — such as WPCode or Code Snippets.

Add an Embed block — in your WordPress editor, search for the Embed block and add it to your page.

Paste your Quickshare Link — copy the Quickshare Link from your Vidalytics video's Embed/Share settings and paste it into the Embed block.

Click Embed — your video will appear directly in the editor and on your live page.

Note: Make sure you are using the Quickshare Link and not the standard embed code for the oEmbed method to work correctly.

Tip: Not sure which method to use? Go with Custom HTML for the quickest setup. Use oEmbed if you prefer a cleaner editing experience and plan to embed multiple Vidalytics videos across your WordPress site.


If you have any questions, feedback, or need assistance, feel free to reach out to our Customer Happiness Team at hi@vidalytics.com.