Add text-to-speech (TTS) to content, with playback controls, read-along highlighting, multi-lingual support, and settings for rate, pitch, and voice.
Try it out on standalone example with some test content.
The settings for Spoken Word are presented in an HTML5 dialog element. For browsers that do not yet support this feature, the plugin bundles the dialog-polyfill. The polyfill is only included if it is detected the browser does not support dialog natively. The inclusion of the polyfill can be disabled by adding the following to your theme or plugin:
add_filter( 'spoken_word_include_dialog_polyfill', '__return_false' );
For themes that have a sticky header (such as the nav menu in Twenty Seventeen) you may need to add some additional CSS to ensure that the sticky-positioned playback controls do not get hidden behind the sticky header. For example in Twenty Seventeen, you can add the following to the Custom CSS in the Customizer:
@media screen and (min-width: 782px) { body:not(.admin-bar) .spoken-word--active { top: calc( 0.5em + 70px ); } body.admin-bar .spoken-word--active { top: calc( 0.5em + 32px + 70px ); } }
A bookmarklet can be used to load the Spoken Word functionality into any site, even non-WordPress sites where the plugin is not installed. The key is to use the appropriate contentSelector:
( () => { const link = document.createElement( 'link' ); link.rel = 'stylesheet'; link.href = 'https://unpkg.com/spoken-word/css/style.css'; document.head.appendChild( link ); const script = document.createElement( 'script' ); script.src = 'https://unpkg.com/spoken-word/dist/spoken-word.js'; script.addEventListener( 'load', () => { spokenWord.initialize( { contentSelector: [ /* 👈 Amend as desired. */ '.hentry', '.entry-content', '.h-entry', '.e-content', '[itemprop="articleBody"]', ].join( ', ' ) } ); } ); document.head.appendChild( script ); } )();
The spokenWord.initialize() function takes an object as its argument which can have the following properties:
* @param {string} contentSelector - CSS Selector to find the elements for speaking. * @param {Element} rootElement - Root element within which to look for content. * @param {Object} chunkifyOptions - Options passed into chunkify. * @param {boolean} useDashicons - Whether to use Dashicons. * @param {Object} defaultUtteranceOptions - Default utterance options when none are supplied from localStorage.
The dialog and the controls are rendered using Preact. For a list of all the modules used by this plugin, see the package.json.
This plugin is developed on GitHub where the source can be viewed. Please report issues there. Pull requests welcome. The spoken-word package is also published on npm.
Starting from $0 per month.
Rating
Reviewers
7 reviews
Tags
Developed By
Weston Ruter
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Contact Form plugins for Wordpress
Maps plugins for Wordpress
Translation plugins for Wordpress
Chat plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Contact plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Forms plugins for Wordpress
Comments plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Comments plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Portfolio plugins for Wordpress
Video Player plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Inventory plugins for Wordpress
Testimonials plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Analytics plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Security plugins for Wordpress
Ads plugins for Wordpress
Music Player plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Membership plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Video Player plugins for Wordpress
Tabs plugins for Wordpress
Social Feeds plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Enhance Design & Draw Attention to Videos
Convert Users With Clear, Concise & Responsive Comparison Tables
Increase Conversions & Drive Sales Up
Draw Attention to CTAs & Increase Conversions
Create Beautiful Tumblr Feeds & Improve User Experience
Improve trust & credibility with the Team Member List widget
Create Stunning WordPress Feeds & Improve User Experience
Create Stunning RSS Feeds & Improve User Experience
Enhance Customer Experience With the Company Branch Flip Cards Widget
Enhance Customer Experience With the Company Branch List App
Revolutionize form creation effortlessly
Increase Engagement and Conversions With Interactive Image Hotspots
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!