Skip to main content

Getting Started - JavaScript SDK

There are two ways to install JavaScript SDK.

First Way: Install via using <script> tag#

You can import this library using <script> tag. The easiest way to get started is to load this library from CDN, and add a couple of lines of code to your web page or app.

Install via <script>
<html>  <head>....</head>  <body>    .....    <script src="https://sdk.videosdk.live/js-sdk/0.0.15/videosdk.js"></script>  </body></html>

Second Way: Install using package manager#

Another interesting option is to install library in your app and bundle it using webpack or rollup.

Npm#

npm install @videosdk.live/js-sdk

Yarn#

yarn add @videosdk.live/js-sdk