
內容簡介
- 將插件安裝到WordPress中- 啟用插件- 遵循說明並配置插件- 從模板中生成URL:https://exchange.glomex.com/ / VIDEO_OR_PLAYLIST_ID(integrationId參數是可選的)- 轉到你的文章,並在任何編輯器中粘貼網址(編輯器必須支持oEmbed)- 你會在內容中獲得一個嵌入式播放器!- VIDEO_OR_PLAYLIST_ID(必填)-嵌入的元素ID- (必填)-選擇要嵌入的一個項目-它應該存在於你的帳戶中,並且通過給定的integration ID可以訪問- integrationId(可選)-允許為此單個嵌入覆蓋集成ID- includeStructuredData(可選)-允許為此單個嵌入覆蓋結構化數據包含- 您可以使用GLOMEX_INTEGRATION_ID環境變數來設置默認的集成ID。
外掛標籤
開發者團隊
原文外掛簡介
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.
Installation and operation
Operation simple as follows:
Install plugin into WordPress
Activate plugin
Follow instructions and configure the plugin
Forge a URL from template: https://exchange.glomex.com//VIDEO_OR_PLAYLIST_ID (integrationId parameter is optional)
Go to your post and paste the url into any editor (editor must support oEmbed)
You get an embedded player inside content!
This plugin is intended for internal and external usage. There is no dependency on our infrastructure.
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)
Note: All shortcode attributes are properly sanitized for security.
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_OR_PLAYLIST_ID
The placeholder variables are:
* VIDEO_OR_PLAYLIST_ID (mandatory) – the element id to embed
* (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
includeStructuredData (optional) – allows overriding structured data inclusion for this single embed
Plugin settings are used by default in all cases. Query strings will override the setting.
Configuration options
You can set up the default integration ID using the GLOMEX_INTEGRATION_ID environment variable.
