Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Develop
Test
Publish
Monetize
Engage users
Device specifications
Resources
Skip to main content
The web player acts as the front end of the video skill.

Introduction

Here is a high level diagram of the web player structure. WebPlayer Overview
AlexaThe Alexa AI running in the cloud.

Manual Installation

Follow these steps if you want to build the web player manually. If you have already performed all the steps in the QuickStart section, you do not have to manually install anything.
  1. Navigate to <project-root>/web-player.
  2. Run npm run release. This command installs dependencies, cleans the project, runs unit tests, and compiles the code.
The output is written to ./dist with the following contents:
  • ./dist/bin/web-player The built web-player files
  • ./dist/doc/index.html Autogenerated documentation of the code
  • ./dist/coverage/index.html An HTML code coverage report

Use

This web player is an important component of every video skill running on Echo Show devices. It needs to be configured in the skill manifest. You can manually do that in the developer portal; however the infrastructure CLI tool handles this for you. It also needs to be hosted on the internet. The infrastructure CLI tool automatically hosts the web player on S3. If you want to manually host the web player on S3 instead, ensure that the web player S3 objects are publicly readable.

Features

Here is an outline of the web player’s features:

Supported

The web player supports the following: UI (touch)
  • Play
  • Pause
  • Seek forward/backward
  • Seek bar
  • Closed captioning
  • Next episode
Voice
  • Play
  • Pause
  • Seek forward/backward (for example, say “Alexa fast forward 1 minute”)
  • Next/Previous episode

Currently Not Supported

Currently, the web player does not support the following: Voice
  • Turning on/off closed captioning by voice

Development

The following steps assume that you already have a video skill for Echo Show devices up and running, and that you want to update the web player. With the infrastructure CLI tool
  1. Use the CLI tool’s --update --web-player option.
  2. Invoke your skill and observe changes.
Without the infrastructure CLI tool
  1. Build the project with npm run release If you want a faster build that skips unit tests, run npm run compile.
  2. Manually upload the web player to S3 (located in ./dist/web-player/).
  3. Ensure the S3 objects are publicly readable.
  4. Invoke your skill and observe changes.

Next Steps

See CLI Tool Reference.
Last modified on October 29, 2020