Vindral Examples
This repository contains runnable example code for Vindral Web SDK and Vindral WebRTC Ingest SDK. The purpose is to provide a way for developers to try the SDKs without too much effort.
Check out the examples repository for Vindral native with Webview for information on how to create native iOS, Android and React Native integrations.
Read the Vindral Documentation for more information.
Example | Comment |
---|---|
Embed | The easiest way to integrate a player on any page without any js required |
Embed Responsive | Just like the above embed example but with some boilerplate to make the iframe responsive |
Player | The bundled Vindral Player GUI |
Basic | The bare minimal code to get started with the Vindral Web SDK |
Custom Player | Custom player GUI without using the bundled player |
Audio-only | Using Vindral in audio-only mode |
Player - Google IMA ads | Player with Google IMA as an ad integration system |
Cast Sender - stand-alone | Using Vindral Cast Sender as a stand-alone module for casting to a Cast Receiver (Google Chromecast), without a Player or Vindral instance |
Vanilla JS - basic example with UMD | Vanilla JS (UMD) basic example, without the need for a build step. |
Vanilla JS - Player example with ESM | Vanilla JS (ESM) Vindral Player example, without the need for a build step. |
WebRTC Ingest - basic example | Using WebRTC Ingest SDK to ingest audio and video |
WebRTC Ingest - select sources | Extended version of the basic example where camera and microphone can be selected |
WebRTC Ingest - embed | Using embedded WebRTC Ingest to ingest audio and video |
WebRTC Ingest - screen sharing | WebRTC ingest with screen sharing and camera rendering on a canvas |