Web SDK (incl. UX)

Guides & Tutorials

4min

The Guides & Tutorials chapter offers step-by-step instructions and practical examples for using the Web SDK.

Customizing Theme

A key feature, especially when using one of the existing event-specific experiences, is to customize the experience to your requirements. To achieve this, the theme can be customized either by using the EXP App Config, or by overwriting the extensions.custom.theme property in the EXP Manifest.

JSON


More information about theming and customization can be found in the Theming & Customization chapter.

Accessing playback data

The playback data can be accessed via the Event System. This example shows how to access the currentTime value of the video player by listening to the PLAYER_UPDATE event.

TypeScript


The playback system uses this event to inform about state changes so there might be information missing. You can also request the full data from playback system by sending a request event.

TypeScript


Triggering an entity (camera) change

Events can be used to programatically change the currently playing content entity (camera).

TypeScript


On the ENTITY_VIDEO_SET event the playback system switches to this entity and seeks to the same position as the previous entity was playing.