Ghost
To connect BeyondWords with Ghost, you will need to set up a custom integration through your Ghost dashboard.
Log into your Ghost dashboard
Go to Settings and then Integrations under the Advanced section
Scroll down and select Add custom integration
Name the integration BeyondWords and press Create
Copy the Admin API key and API URL fields
Once done:
Go to the Settings section in your project, click on the CMS integrations tab, select Ghost, paste the Admin API Key and API URL into the correct fields and click Test.
A successful test run indicates that your Ghost installation is now successfully integration with BeyondWords. When you will create or update posts from your Ghost dashboard, BeyondWords will then generate the corresponding audios.
Enable the BeyondWords Player
To enable the BeyondWords Player in the posts that have been converted to audio, insert the player script into your Ghost site footer code:
Copy the BeyondWords script presented in the Ghost integration settings
Log into your Ghost dashboard
Go to 'Settings' and then ‘Code injection’ under the 'Advanced' section
Paste the script into a new line in the ‘Site Footer’ code and press ‘Save’.
The articles on your Ghost site will now present an interactive audio player with which your readers can listen to them.
Player customization
Position
To change the position where the audio player should load, please add a target
property to the initialization object passed to BeyondWords.GhostHelper
:
This will force the player to load as a child in the element with id cusom-target
in your active Ghost theme.
Style
To make minor changes to the player styling you may use the beyondwords-player
id to apply CSS rules to the player:
Last updated