0.2.4 • Published 3 years ago

lvn-embed-api v0.2.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

lvn-embed-api

This is an open-source npm package for embedding LVN highlights within other js projects. This package is brought to you by Cortico.

To install this package, you should run npm install lvn-embed-api.

Usage

import {HighlightPlayer} from 'lvn-embed-api'
const player = new HighlightPlayer({containerId: "embed-div-id", highlightId: 1, highlightOptions: HighlightOptions, onReady: (player) => void})
player.play()

All the functions available to use in the player.js spec are available through this API. We also provide context on whether the player is actively playing.

Note: HighlightOptions are only enforced if type is equal to "minimum".

Examples

In the examples folder, there are examples of using the imbed within different environments.

0.2.4

3 years ago

0.1.30

3 years ago

0.1.31

3 years ago

0.1.29

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.1.27

3 years ago

0.1.28

3 years ago

0.1.26

3 years ago

0.1.25

3 years ago

0.1.24

3 years ago

0.1.23

3 years ago

0.1.22

3 years ago

0.1.21

3 years ago

0.1.20

3 years ago

0.1.18

3 years ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.15

3 years ago

0.1.14

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago