Install via NPM

The BeyondWords Player is automatically installed with the following integrations:

1. Add the player NPM package:

npm add @beyondwords/player

2. Add a target div in your web app:

<div id='beyondwords-player'></div>

3. Initialize the player:

import BeyondWords from '@beyondwords/player';

new BeyondWords.Player({ target: '#beyondwords-player', projectID: <ID>, contentId: '<ID>' });

You will need to replace the project ID and content ID with your projectId and contentId. You can use any of the following properties in conjunction with the projectId to initialize the player:

Last updated