Skip to Content
The new glomex player is released! 🎉View upgrade guide

Contextual Integration

The contextual integration is an advanced implementation of the glomex integration that automatically selects content based on the context of your webpage. Instead of manually specifying a playlist or video ID, the integration analyzes your page content and displays relevant videos that match the subject matter.

Embed Code

The contextual integration uses the same basic structure as the standard embed code, with one key difference: the playlist-id attribute is set to auto instead of a specific ID.

<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="auto" > </glomex-integration>
đź’ˇ

For contextual integration to work properly, your player configuration in the glomex dashboard must have the integration variant set to “contextual”.

Last updated on