This repository contains a collection of plain JavaScript code samples, covering several basic Amazon IVS use cases. This project is intended for education purposes only and not for production usage.
💡 Custom Player Controls
Shows how to leverage Amazon IVS's playerSDK APIs to implement custom player controls (Play/Pause, Mute/Unmute, Quality selection).
💡 Simple Quiz
Shows how to leverage Amazon IVS's TimedMetadata API to display a basic Quiz interface. Read more about how to add live video to your apps and websites.
💡 Multiple Players
Shows how to instantiate multiple Amazon IVS players simultaneously.
💡 Minimal Player Setup
Shows a minimal way to implement the Amazon IVS PlayerSDK.
💡 Video.js Integration
Shows how to use the Amazon IVS PlayerSDK with Video.js.
💡 Ambiance Canvas
A demo showing how you can achieve an "ambilight" effect using Canvas and the Amazon IVS Player SDK.
- Open the
index.html
file of each folder in a modern web browser to test each demo. - Open any demo's
script.js
in your favorite code editor, and replace the value ofPlaybackUrl
with your own Amazon IVS Playback URL to play your own stream.
- These code samples were written for demonstration purposes and not for production use.
- These code samples were only tested on recent Chrome and Firefox versions.
Amazon Interactive Video Service (Amazon IVS) is a managed live streaming solution that is quick and easy to set up, and ideal for creating interactive video experiences. Learn more.
- Amazon IVS docs
- User Guide
- API Reference
- Setting Up for Streaming with Amazon Interactive Video Service
- Learn more about Amazon IVS on IVS.rocks
- View more demos like this
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.