1.4.0 • Published 3 years ago
@exmg/livery-interactive v1.4.0
Livery Interactive SDK
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.