plugin-icon

glomex oEmbed

作者:Glomex·
Paste a glomex Exchange video or playlist URL into any editor and WordPress renders the glomex player in its place.
版本
0.9.7
活跃安装
100
最后更新
Jul 30, 2026
glomex oEmbed

glomex oEmbed connects your WordPress site to glomex Exchange. Paste a video or playlist URL into any editor and WordPress replaces it with the glomex player – no embed code to copy, no HTML to maintain.

The plugin registers glomex as a native WordPress oEmbed provider, so embedding works in the block editor, the classic editor and any editor that supports oEmbed. All you need is a glomex Exchange integration ID.

Once the integration ID is configured, embedding takes three steps:

  1. Forge a URL from template: https://exchange.glomex.com/[video|videos|playlist|playlists]/VIDEO_OR_PLAYLIST_ID (integrationId parameter is optional)
  2. Go to your post and paste the url into any editor (editor must support oEmbed)
  3. You get an embedded player inside content!

Shortcodes

[glomex_integration]

You can use the shortcode [glomex_integration] to embed a player in your post. Additional shortcode parameters (not required): * playlist_id – ID of the playlist to embed * integration_id – override default integration ID * variant – player variant (default: ‘player-listicle’) * width – player width in pixels (default: responsive width) * height – player height in pixels (default: 16:9 aspect ratio)

If both width and height are not specified, the player will use responsive sizing with 16:9 aspect ratio.

URL

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 embed

Plugin settings are used by default in all cases. Query strings will override the setting.

Configuration options

The plugin adds a settings page with two options: the global integration ID and custom script attributes.

You can set up the default integration ID using the GLOMEX_INTEGRATION_ID environment variable.

Custom script attributes

On the settings page you can add custom HTML data-* attributes to the glomex player script tags. This is useful for telling performance/optimization plugins to leave the player script alone – for example, add data-cfasync = false to exclude the script from Cloudflare Rocket Loader, or data-no-optimize = 1 to exclude it from WP Rocket. Only data-* attribute names are accepted; other names are ignored. The attributes are added to the player script tag of each embed.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0.2
这个插件是可用的下载,适用于您的站点。