跳到内容

Speakable

v1.0.1

themeshape · 2026年6月6日 上架

Add a text-to-speech player to your posts and pages using the browser's built-in Web Speech API. Free, no API keys required.

正在使用
10 以下
评分
暂无
累计下载
406
最近更新
2026年6月6日
需要 WordPress 6.0+已测试到 6.9.12PHP 7.4+

截图

The player bar on a published article, ready to read the post aloud
The player bar on a published article, ready to read the post aloud
Active playback with progress bar and sentence counter
Active playback with progress bar and sentence counter
Voice settings — choose voice and adjust speed, pitch, and volume
Voice settings — choose voice and adjust speed, pitch, and volume
Display settings — post types, button color, and player position
Display settings — post types, button color, and player position
Live preview — test the current voice settings before saving
Live preview — test the current voice settings before saving
Analytics overview — TTS-enabled posts and player feature status
Analytics overview — TTS-enabled posts and player feature status

Speakable adds a play button to your articles that reads the content aloud using the browser’s built-in speech synthesis engine. No external API keys, no usage costs, no third-party services.

Features:

  • Play / Pause / Stop controls
  • Adjustable playback speed (0.75x – 2x)
  • Progress bar with sentence counter
  • Voice, pitch, volume, and speed settings from the admin dashboard
  • Enable/disable per post type (Posts, Pages, Products, etc.)
  • Customizable button color with live preview
  • Gutenberg block — place the player anywhere in your content
  • Sticky mini-player that follows users while scrolling
  • Mobile-optimized with large touch targets
  • Accessible: ARIA labels, roles, keyboard navigation, and live regions
  • Zero external dependencies — no third-party scripts, fonts, or services

Gutenberg Block:

Search for “Speakable Player” in the block inserter to place the player at any position in your content. The block automatically disables global auto-insertion for that post to prevent duplicates.

How It Works:

  1. The plugin filters post content to inject a player bar (or use the Gutenberg block)
  2. JavaScript extracts article text and splits it into sentences
  3. Each sentence is spoken using the Web Speech API
  4. Sentence-by-sentence playback avoids Chrome’s known timeout bug

Source Code and Development

This plugin is fully GPL. The maintained development location is:

https://github.com/devshagor/speakable

The human-readable source for every shipped file is also bundled inside the plugin itself:

  • Block editor source: src/blocks/speakable-player/index.js and src/blocks/speakable-player/editor.css
  • Block render template (server-side): src/blocks/speakable-player/render.php
  • Block metadata: src/blocks/speakable-player/block.json
  • All PHP classes are unminified and live under includes/
  • All admin/frontend CSS and JS are unminified and live under assets/

The contents of build/blocks/speakable-player/ are produced from src/blocks/speakable-player/ using @wordpress/scripts.

To regenerate the build output:

npm install
npm run build

This runs wp-scripts build --webpack-src-dir=src/blocks --output-path=build/blocks. The npm run start command provides a development watch mode.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums