Introduction
Here is a high level diagram of the web player structure.
- Alexa
- Echo Show
- Alexa Web Player Controller
- API Gateway Controller
- Web Player
- Alexa Controller
- Video Controller
- UI Controller
- Events
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.-
Navigate to
<project-root>/web-player. -
Run
npm run release. This command installs dependencies, cleans the project, runs unit tests, and compiles the code.
./dist with the following contents:
./dist/bin/web-playerThe built web-player files./dist/doc/index.htmlAutogenerated documentation of the code./dist/coverage/index.htmlAn 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
- 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- Use the CLI tool’s
--update --web-playeroption. - Invoke your skill and observe changes.
-
Build the project with
npm run releaseIf you want a faster build that skips unit tests, runnpm run compile. -
Manually upload the web player to S3 (located in
./dist/web-player/). - Ensure the S3 objects are publicly readable.
- Invoke your skill and observe changes.

