JavaScript Platform Overview
Twilio's Programmable Video JavaScript SDK lets you add real time voice and video to your web applications.
Prerequisites
Ensure you have one of the following web browsers available: Chrome, Firefox or Safari 11. See Supported Browsers for more details.
Run the Quickstart App
Running the Twilio Video JavaScript Quickstart App is a great starting point towards adding Video to your own applications. Get the JavaScript Quickstart App here.
To add Video to your application, follow the Getting Started Guide
Add the SDK
You can install the JavaScript Video library using NPM.
NPM
npm install --save twilio-video
You can also include it in your application using our CDN.
CDN
<script src="//media.twiliocdn.com/sdk/js/video/releases/2.0.0-beta16/twilio-video.min.js"></script>
Supported Browsers
The JavaScript Video library requires recent versions of Chrome and Firefox, and Safari 11 or greater.
Chrome | Edge | Firefox | Safari | |
---|---|---|---|---|
Android | ✓ | - | ✓ | - |
iOS | * | - | * | ✓ |
Linux | ✓ | - | ✓ | - |
macOS | ✓ | - | ✓ | ✓ |
Windows | ✓ | ✘ | ✓ | - |
* Chrome and Firefox for iOS do not have access to WebRTC APIs, unlike Safari for iOS.
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.