SDK for easily embedding videos


![codecov]()
``sh`
npm install @loomhq/loom-embed
html
`See documentation for installation and usage.
Usage
`js
import * as loom from '@loomhq/loom-embed';
``Methods
$3
Replaces any loom links at the nodes matching the selector with the embedded video. Replacement occurs on the entire document, or on the optional target DOM element.
$3
Takes a string and replaces any Loom URLs with the embed html
_-> returns a promise_
$3
oembed metadata from the given video url
_-> returns a promise_
Options
The embed code is responsive by default. Only set the width/height values if you require your embed code to be a fixed size
width - [Number] value specifying the max pixel widthheight` - [Number] value specifying the max pixel height