About
The Post message bridge plugin sends Kaltura player events, such as play, pause, and seek, to the web page that embeds the player. It uses window.postMessage to do this. Your page can then use the events, for example to send viewing data to your analytics or back-end systems.
Before you start, ask Kaltura Support to make the Post message bridge available on your player. After that, you can configure it, as described below.
Access the advanced settings
VOD Audio Reels
- Log in to your Rich Media CMS and click the Studio tab.
- Click the player you want to edit from the list (or use the search bar in the top right).
- Scroll to the bottom of the player settings and click Advanced Settings.

The Player Studio page displays.
If you haven't created a player yet, check out our article Create a player for guidance.

The player settings display.


The advanced settings editor opens.

Configure Post message bridge
You can turn on the Post message bridge plugin and set its options in the player’s Advanced settings.
Enable the plugin
- In the Advanced settings tab, hover over
plugins. - Select the green + icon.

- In the Key Name box, enter
postMessageBridge.
- Select the green checkmark, or press Enter.
The new plugin appears in the list, enabled and labeled
null.
- Hover over the plugin name.
- Select the green edit icon.

A box containing a
nullvalue appears.
- Replace
nullwith{}. - Select the second small green checkmark next to the {...}.

The new plugin name is now followed by empty curly brackets (
{}).
- Select Save at the top right before exiting.
Configure which events to send
Send all events
- Hover over
postMessageBridge. - Select the green + icon.

- In the Key Name box, enter
sendAllEvents.
- Select the green checkmark, or press Enter.
The new setting appears in the list, labeled
null.
- Hover over
sendAllEvents. - Select the green edit icon.

A box containing a
nullvalue appears.
- Replace
nullwithtrue. - Select the small green checkmark.

The item is now labeled
true.
When
sendAllEventsistrue, the plugin sends all player events, including custom and ad events, to your web page. - Select Save at the top right before exiting.
Select which events are forwarded (optional)
- If you added
sendAllEvents, set it tofalse.- Hover over
sendAllEvents. - Select the green edit icon.

A box containing a
truevalue appears.
- Replace
truewithfalse. - Select the small green checkmark.

The item is now labeled
false.
- Select Save at the top right before exiting.
- Hover over
- Add
eventsToSendand select events.- Hover over
postMessageBridge. - Select the green + icon.

- In the Key Name box, enter
eventsToSend.
- Select the green checkmark, or press Enter.
The new setting appears in the list, labeled
null.
- Hover over
eventsToSend. - Select the green edit icon.

A box containing a
nullvalue appears.
- Enter event groups, event names, or both, separated by commas. This example adds one event group:
playbackMilestones.
- Select the green checkmark, or press Enter.
The events appear in the list.

- Select Save at the top right before exiting.
- Hover over
Supported event groups
core: Core playback events such asmedia_loaded,play,pause,resume,seek,endedplaybackMilestones: Milestone events such asplay_reached_25,play_reached_50,play_reached_75,play_reached_90,play_reached_100errorEvents: Error events such aserroradEvents: Ad events, such asad_start,ad_complete, andad_click, and any other ad events the player supports
Add optional context fields
You can add more information to every event message with the optional contextId and channel fields. The plugin adds these values to every event message unchanged. Your page can use them to sort or filter events.
"plugins": {"hostPageEventBridge": {"sendAllEvents": true,"contextId": "my-company-site-or-page-context","channel": "company"}}
contextId: A name you choose that identifies where the player is used, for example a site, page, or template.channel: A name you choose to label these events, for example"company"if you use the plugin in more than one integration. Your page can use it to tell the events apart.
Event message example
Example event message.
{
"source": "kaltura-player",
"version": "1.1",
"event": "play",
"timestamp": "2026-02-26T12:34:56.789Z",
"entryId": "1_abcd1234",
"entryName": "Welcome to Kings",
"playerId": "1234567",
"partnerId": 123456,
"sessionId": "sess_01",
"isLive": false,
"positionSeconds": 12.34,
"durationSeconds": 300,
"playbackRate": 1.0,
"contextId": "prod:/content/site/page-x",
"ad": null,
"error": null
}About the event message
sourceandversionare always sent- Other fields are sent only when available (if a value is missing, that field is omitted)
eventis the name of the event, based on yoursendAllEventsoreventsToSendsettingentryName: The display name of the currently playing media entry. Empty string if unavailable.



















