Widget or player? The widget used to be called the player. You’ll still see
player in API endpoints, SDK methods, and embed code. These refer to the widget, and existing integrations keep working without changes.Use your AI assistant
Use your AI assistant
Connect the BeyondWords MCP, then copy a prompt.
Get embed code with your AI assistant
Get playlist embed code with your AI assistant
Use the API
Use the API
Configure the widget with the BeyondWords API:
- Get player settings:
GET /projects/{project_id}/player_settings - Update player settings:
PUT /projects/{project_id}/player_settings - Get player data by content ID
- Get player data by source ID
- Get player data by source URL
- Get player data by playlist ID
Features
Audio
Audio
- Audio/video player: Let readers listen to the audio article and summary, or watch the video article and summary.
- Read-along highlighting: Highlight words and paragraphs as the audio article plays.
- Playback from paragraphs: Let readers click or tap a paragraph to start listening from that point.
- Continuous playback: Play your most recent audio or video content after the current item ends.
- Intro and outro: Play custom messages before and after your content.
- Skipping: Let readers skip forward or backward by time or paragraph.
- Downloads: Let readers download audio or video to enjoy offline.
Agent
Agent
- Text and voice chat: Let users explore your content by typing or speaking to your agent.
- Conversation starters: Suggest prompts to help users get started.
Appearance
Appearance
- Colors and themes: Match your branding, with support for light and dark modes.
- Display image: Show a custom image or each article’s featured image in legacy widget versions.
- Components: Build your own widget interface using BeyondWords components.
Usability and performance
Usability and performance
- Sticky widget: Keep the widget visible when the main widget scrolls out of view.
- Keyboard support: Let readers navigate and control playback using a keyboard.
- Fast loading and streaming: Use dynamic loading to reduce the impact on page performance and HLS streaming for fast playback.
- Responsive design: Adapt the widget to different screen sizes and devices.
Transparency
Transparency
- Disclosure: Display a disclosure below the widget, with an optional link.
- Info button: Provide additional context through an info button.
Access and monetization
Access and monetization
- Audio ads: Run custom or programmatic ads before, during, or after your content.
- Access tiers: Control how much audio, agent, and connector access each membership level gets.
Analytics
Analytics
- Engagement tracking: Measure how readers listen to your audio and interact with your agent.
- Unique users: Turn on unique-user tracking to understand how many people engage.
- Analytics integrations: Connect engagement data to your existing analytics tools.
Configure the widget
There are three ways to configure the widget:- In your project dashboard: Go to Widget to view and change settings.
- In your code: Use widget properties to override settings for individual widgets.
- Through an AI assistant: Use the BeyondWords MCP to view and change selected settings.
Widget settings
The Widget page in your project dashboard has five sections: General, Audio, Agent, Appearance, and Tracking. Click Save on a card to save its changes, or click Save all at the bottom of the page to save every card except Access, which has its own Save button. Settings marked (Default version) only work with the Default widget version.General
General
In the Widget card:
- Widget: Show the widget once your enabled experiences are ready.
- Version: Select Default (Recommended) or a legacy version: Standard, Small, or Large.
- Widget access: Select Public or Private. See Widget access.
- Sticky widget: Show the sticky widget when the main widget is out of view.
- Position: Select Left, Center, or Right for where the sticky widget docks at the bottom of the screen. Shown when Sticky widget is on.
- Disclosure: Show a permanent disclosure line below the widget. (Default version)
- Disclosure text: The line shown below the widget. Shown when Disclosure is on.
- Disclosure link: Optional. Add a link to your disclosure text. Shown when Disclosure is on.
Audio
Audio
In the Experiences card:
- Article: Let readers listen to the full article, if available. (Default version)
- Summary: Let readers listen to the article summary, if available. (Default version)
- Allow downloads: Let readers download audio from the widget.
- Playback from paragraphs: Let readers click any paragraph to start playback there.
- Word highlighting: Highlight each word as it’s read aloud.
- Word highlight color: Choose a light mode and a dark mode color. Shown when Word highlighting is on.
- Paragraph highlighting: Highlight each paragraph as it’s read aloud.
- Paragraph highlight colors: Choose a light mode and a dark mode color. Shown when Paragraph highlighting is on.
- Items shown: Enter a number from 1 to 20 for how many playlist items are visible in the preview at once.
- Playlist toggle: Let readers toggle the playlist preview instead of keeping it always visible.
- Outros in playlists: Select After last item only or After each item for when outros play in playlists.
- Call to action: The text prompt that shows before audio plays.
- Show title during playback: Show the project or playlist title in the widget during playback. (Default version)
- Info icon: Show an info icon in the widget that reveals your own text. (Default version)
- Info text: The text shown when readers tap the info icon. Shown when Info icon is on.
- Intro: Upload a WAV or MP3 file, up to 100MB, to play at the start of playback.
- Outro: Upload a WAV or MP3 file, up to 100MB, to play at the end of playback.
- Skip behavior: Choose what the skip buttons do when playing a single audio: Skip by paragraph, Skip by seconds, or Skip by item.
- Skip by seconds: Choose how far the back and forward buttons move: 5, 10, or 15 seconds each way. Shown when Skip behavior is Skip by seconds.
- Continuous playback: Queue your most recent audio items after the original audio.
Agent
Agent
In the Experiences card:
- Agent: Let users chat with your agent in the widget. (Default version)
- Conversation mode: Select Text and voice or Text only. Shown when Agent is on.
- Placeholder text: The text shown in the input box before the user starts typing.
- Conversation starters: Optional. Add prompts users can tap to start a conversation with your agent. Press Enter or click Add to save each prompt.
Appearance
Appearance
In the General card:
- Corner rounding: Enter a number from 0 to 16 for how rounded the corners of the widget are. (Default version)
- Display image: Show each item’s featured image in the widget, or the custom image if you add one. Needs a legacy version.
- Custom image: Optional. Upload a PNG, JPG, or WebP file, up to 10MB. Shown when Display image is on.
- Color theme: Select Light mode, Dark mode, or Adapt to device.
- Background color: The background color of the widget.
- Icon color: The color of icons, such as the play and submit buttons.
- Primary text color: The color of important text, such as the audio call to action.
- Secondary text color: The color of secondary text, such as audio duration times. (Default version)
- Link color: The color of links, such as linked disclosure text. (Default version)
- Subtle color: The color of subtle elements, such as divider lines. (Default version)
- Background color: The video surface behind the controls.
- Text color: The color of text in the video widget.
- Icon color: The color of the video controls.
- Subtle color: The color of quiet elements, such as progress tracks and dividers.
- Agent icon: Select Color orb or Custom avatar. (Default version)
- Agent color: Choose a light mode and a dark mode color for the orb. Shown when Agent icon is Color orb.
- Avatar image: Upload a PNG, JPG, or WebP file, up to 10MB. It shows in both light and dark mode. Shown when Agent icon is Custom avatar.
- Bubble color: Choose a light mode and a dark mode color for the background of user chat bubbles. (Default version)
- Bubble text color: Choose a light mode and a dark mode color for text in user chat bubbles. (Default version)
Tracking
Tracking
In the Analytics card:
- Track analytics: Measure how readers engage with the widget.
- Track unique users: Count unique listeners per session with a temporary, anonymous ID. Shown when Track analytics is on.
- Google Analytics: Send widget events to Google Analytics or Google Tag Manager.
- Identifier: Your Google Analytics tracking ID or Google Tag Manager container ID. Shown when Google Analytics is on.
- Custom endpoint: Send widget events to a URL you control.
- Endpoint URL: The full URL, including https://, where the widget sends its events. Shown when Custom endpoint is on.
Widget access
Use the Access card on the Widget page to choose how readers get an access tier:- Public: Anyone can listen. Your embed code can pass an access tier slug. Everyone else gets the Default tier.
- Private: Readers sign in with Ghost or Piano to get their access tier. Everyone else gets the Default tier.
- Set up authentication with Ghost or Piano.
- Go to Widget.
- In the Access card, select Private.
- Click Save, then click Make private to confirm.
- Add
authProvider: 'ghost'orauthProvider: 'piano'to your widget embed code, if necessary. The embed code you copy from the project dashboard includes it.
A private widget ignores any access tier slug in your embed code. Readers who sign in or out see their new tier after they reload the page. Tier changes can take up to an hour to reach readers who are already signed in.
Installation
If you use Magic Embed or the WordPress plugin, the widget is installed automatically. For Ghost, add the widget script to your site footer (see Ghost). For custom integrations, use one of the following methods:- JavaScript SDK: Embed the widget directly into your website using JavaScript or NPM.
- Widget API: Programmatically control playback, metadata, events, and widget behavior.
- iOS SDK: Integrate the BeyondWords widget into iOS apps (audio only).
- Android SDK: Integrate the BeyondWords widget into Android apps (audio only).
Manually embed the widget
You can use the widget to manually embed specific audios, videos, or playlists.- Individual items
- Playlists
- Go to Content → Items.
- Click Show media next to the item.
- Click the copy embed code icon next to the file you want, then paste the code wherever you like.
FAQs
What's the difference between the main widget and the sticky widget?
What's the difference between the main widget and the sticky widget?
The main widget is embedded at the
target element in your page. The sticky widget is a floating mini-player that appears when readers scroll past the main widget, keeping playback accessible.Why aren't my changes appearing in the widget?
Why aren't my changes appearing in the widget?
It may take up to 5 minutes for saved changes to take effect, due to caching.If you don’t see your updates right away, wait 5 minutes then hard refresh the page before troubleshooting further.
Does the intro play when the user uses playback from paragraphs?
Does the intro play when the user uses playback from paragraphs?
Yes, the intro will play if the reader starts playback from a paragraph.
What order does audio play in?
What order does audio play in?
Main content always plays. Optional segments (intro, ads, and outro) are inserted in this order when configured:
- Intro (optional)
- Pre-roll ad (optional)
- Main content (first half)
- Mid-roll ad (optional)
- Main content (second half)
- Post-roll ad (optional)
- Outro (optional)