@exmg/livery-interactive

Ex Machina Group Livery Interactive SDK.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@exmg/livery-interactive
001.4.0a year ago2 years agoMinified + gzip package size for @exmg/livery-interactive in KB

Readme

Livery Interactive SDK
GitHub last commit NPM package Changelog License Built with open-wc recommendations
Ex Machina Group Livery Interactive SDK for use with LiveryPlayer interactive layer pages.
Please refer to docs.liveryvideo.com/interactive-sdk for complete documentation.

Installation

npm install @exmg/livery-interactive

Usage

import { InteractiveBridge } from '@exmg/livery-interactive';

const bridge = new InteractiveBridge('*');

bridge.getLatency().then(latency => window.alert(`latency: ${latency}`));

Note: To prevent cross site security issues replace the '*' origin above with the origin of the page that the Livery Player containing this interactive layer page will be on.