1.13.4 • Published 2 months ago

@liveryvideo/interactive-bridge v1.13.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Livery Video Interactive Bridge

npm package conventional CHANGELOG tsdoc API docsify Documentation Lit Elements license MIT

Bridge for communicating between a Livery Video Player and the interactive layer page shown within that.

Please refer to our docs page for further information.

You can also view the CHANGELOG and API documentation that are included in this NPM package from there.

Installation

npm install @liveryvideo/interactive-bridge

Usage

The main class to be used from this package is the InteractiveBridge:

import { InteractiveBridge } from '@liveryvideo/interactive-bridge';
// The playerBridge will be provided to you as interactive element as interactive webview or iframe
const bridge = new InteractiveBridge(playerBridge || '*');
// To prevent cross site security issues:
// https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage#security_concerns
// replace the `'*'` origin above with the origin of the page that the Livery Player is on
bridge.getAppName().then(appName => window.alert(`appName: ${appName}`));
1.13.4

2 months ago

1.13.2

2 months ago

1.13.1

2 months ago

1.13.0

2 months ago

1.13.3

2 months ago

1.12.6

3 months ago

1.12.3

3 months ago

1.12.5

3 months ago

1.12.4

3 months ago

1.12.2

3 months ago

1.12.1

3 months ago

1.12.0

3 months ago

1.11.4

3 months ago

1.11.3

3 months ago

1.11.2

3 months ago

1.11.5

3 months ago

1.11.1

3 months ago

1.11.0

3 months ago

1.9.3

4 months ago

1.10.0

4 months ago

1.9.1

8 months ago

1.8.2

10 months ago

1.9.0

10 months ago

1.8.1

10 months ago

1.8.0

10 months ago

1.9.2

7 months ago

1.8.3

10 months ago

1.7.0

1 year ago

1.6.2

2 years ago

1.6.0

3 years ago

1.5.0

3 years ago