Skip to Content
The new glomex player is released! 🎉View upgrade guide
PublisherGuidesHow to Use the Player in a CMS

How to Use the Player in a CMS

Integrating the glomex Video Player into your Content Management System (CMS) can be accomplished through several methods, each offering different levels of customization and ease of use.

1. oEmbed Integration

đź’ˇ

The oEmbed protocol allows your CMS to automatically convert video URLs into embedded players without requiring editors to handle complex embed codes.

We highly recommend integrating your CMS with our oEmbed service for the most seamless experience. This allows content editors to simply paste a glomex video URL, and the CMS will automatically convert it to a properly configured player.

For detailed implementation instructions, refer to our oEmbed documentation.

2. WordPress Plugin

If you’re using WordPress, we offer an official plugin that simplifies the integration process:

Install the plugin

Install the glomex oEmbed Plugin  from the WordPress plugin directory

Activate the plugin

Activate the plugin in your WordPress admin panel

Use glomex videos

Paste glomex video URLs directly into your content

Custom CMS Integration

If you prefer to create a custom integration for your CMS, you can develop a video module that includes the glomex embed code with placeholders for dynamic values:

cms-template.html
<script
  src="https://player.glomex.com/integration/1/integration.js"
  type="module"
></script>
<link
  rel="stylesheet"
  href="https://player.glomex.com/variant/REPLACE_WITH_INTEGRATION_ID/variant.css"
>
<glomex-integration
  integration-id="REPLACE_WITH_INTEGRATION_ID"
  playlist-id="REPLACE_WITH_PLAYLIST_ID"
>
</glomex-integration>

This approach allows content editors to input only the necessary IDs without needing to understand the full embed code structure.

Example Implementation

A typical CMS implementation might include:

Create input fields

Add form fields for the Integration ID (set once at the CMS level) and a content field where editors can enter the Playlist ID

Generate embed code

Use the input values to generate the proper embed code using the template above

Provide preview

Show a preview of the embedded player using the entered values

Example of a glomex CMS plugin interface

Last updated on