Wordpress plugin that acts as a bridge between our oEmbed endpoint and internal WP oEmbed service.
This is a WordPress plugin that acts as a bridge between our oEmbed endpoint and internal WP oEmbed service. It allows simple oEmbed operation – just paste a link into (basically) any WordPress editor and it will automagically convert this link into glomex player/playlist/integration.
Operation simple as follows:
https://exchange.glomex.com/[video|videos|playlist|playlists]/VIDEO_OR_PLAYLIST_ID
(integrationId parameter is optional)This plugin is intended for internal and external usage. There is no dependency on our infrastructure.
[glomex_integration]
You can use the shortcode [glomex_integration]
to embed a player in your post.
Additional shortcode parameters (not required): playlist_id
, integration_id
, variant
, width
, height
.
The supported url scheme is https://exchange.glomex.com/[video|videos|playlist|playlists]/VIDEO_OR_PLAYLIST_ID
The placeholder variables are:
* VIDEO_OR_PLAYLIST_ID
(mandatory) – the element id to embed
* [video|videos|playlist|playlists]
(mandatory) – select one item to embed – it should exist in your account and be accessible with the given integration ID
Allowed parameters:
integrationId
(optional) – allows overriding integration ID for this single embedincludeStructuredData
(optional) – allows overriding structured data inclusion for this single embedPlugin settings are used by default in all cases. Query strings will override the setting.
You can set up the default integration ID using the GLOMEX_INTEGRATION_ID
environment variable.
/wp-content/plugins/
but sometimes it may vary)You need at least WP 5.3.14, PHP 7.4 and curl
extension enabled.
You need to configure the plugin. There are only 2 options at the moment – integration ID and structured data configuration.
You need an account at glomex Exchange.
Manage => Players
Configuration ID
Yes you can. You can have one “basic” integration ID in your plugin configuration and any amount of integration IDs
for embedded player.
Structured data allows you to have more search-engine friendly site. In case of our plugin this means that results from
your site may appear as “Video” in Google search results. We provide a JSON-LD structured data for you. Read more on
JSON-LD.
glomex_integration
shortcode to embed a player in your postglomex-player.js
on frontend