0.2.4 • Published 2 years ago

lvn-embed-api v0.2.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 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

2 years ago

0.1.30

2 years ago

0.1.31

2 years ago

0.1.29

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.1.27

2 years ago

0.1.28

2 years ago

0.1.26

2 years ago

0.1.25

2 years ago

0.1.24

2 years ago

0.1.23

2 years ago

0.1.22

2 years ago

0.1.21

2 years ago

0.1.20

2 years ago

0.1.18

2 years ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago