Skip to content

This repository contains a collection of plain JavaScript code samples, covering several basic Amazon IVS use cases.

License

Notifications You must be signed in to change notification settings

aws-samples/amazon-ivs-basic-web-sample

Amazon IVS Basic Player Demos

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.

Amazon IVS Basic Player demos

Demos

💡 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.

Getting Started

  • 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 of PlaybackUrl with your own Amazon IVS Playback URL to play your own stream.

Known issues and limitations

  • 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.

About Amazon IVS

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.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.