Skip to main content

Overview

BeyondWords provides feature-rich player SDKs to help you integrate our player into your applications with ease. We have SDKs for: All of these are designed to be flexible and customizable, allowing you to tailor the player to fit your specific needs.

Example use cases

Playback from paragraphs

If you only want the playback from paragraphs and text highlighting features to become active after a user has interacted with the player, you can use the following example:
Player embed script
<script async defer src="https://proxy.beyondwords.io/npm/@beyondwords/player@latest/dist/umd.js" onload="
  const player = new BeyondWords.Player({
    target: this,
    projectId: 26027,
    contentId: 'fcb3ab8e-0aa9-4eb2-a828-e84e3e140825'
  });

  player.addEventListener('<any>', () => {
    if (player.playbackState === 'stopped') {
      player.clickableSections = 'none';
      player.highlightSections = 'none';
    } else {
      player.clickableSections = 'all';
      player.highlightSections = 'all';
    }
  });
"></script>