Linux 软件免费装
Banner图

Text to Speech Player

开发者 tanindev
更新时间 2026年12月3日 01:04
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

tts accessibility audio player text to speech speech synthesis

下载

1.0.0

详情介绍:

Text to Speech Player is a modern, lightweight (<15 KB runtime), and accessible audio reader for WordPress. Instantly convert articles, blog posts, pages, and WooCommerce products into natural-sounding speech with zero API cost using your visitors' built-in browser speech synthesis, or connect your own AI keys (OpenAI, ElevenLabs, Google Cloud TTS, Amazon Polly). Increase visitor dwell time, reduce bounce rates, boost accessibility compliance (ADA / WCAG), and allow your audience to listen on the go while doing other tasks. 🌟 Why Choose Text to Speech Player? 🎨 Fully Customizable Appearance Choose from 5 modern player themes, custom accent colors, button radius, and sizes to seamlessly match your site branding: 💻 Shortcode & Template Usage Place a custom play button anywhere on your site (homepage, hero sections, widgets, landing pages, or theme templates): 1. Standard Player (Current Post/Page) Converts and plays the current post or page content: [tts_player] 2. Custom Spoken Text (Hero Section / Greeting) Speaks custom text instead of the page content: [tts_player text="Welcome to our website! Listen to our quick audio introduction."] 3. Custom Labels & Styling Override [tts_player theme="solid" accent="#e11d48" radius="pill" size="large" listen_text="Listen to Audio Intro"] 4. Custom MP3 Audio File Player Plays pre-recorded audio or podcast file: [tts_player audio_url="https://example.com/audio.mp3" listen_text="Play Podcast Episode"] 5. Enclosed Text Block Wrap any specific paragraph or text inside shortcode tags: [tts_player]This exact text inside the shortcode will be spoken aloud.[/tts_player] 6. Specific Post Content Play audio for another specific post by ID: [tts_player id="42"] 7. Sticky Fixed Floating Player Anchor a floating audio player to any screen corner with custom horizontal (X) and vertical (Y) offsets: [tts_player position="sticky" sticky_position="bottom_right" offset_x="24" offset_y="24"] 8. PHP Theme Template Integration Directly embed in front-page.php, header.php, or single post templates: <?php echo do_shortcode( '[tts_player]' ); ?> 🔒 Privacy & GDPR Compliance Text to Speech Player is built with privacy-by-design:

安装:

Automatic Installation (Recommended)
  1. In your WordPress admin dashboard, go to Plugins > Add New.
  2. Search for Text to Speech Player.
  3. Click Install Now, then click Activate.
  4. Go to Text to Speech > Settings to configure your player appearance and default voice.
Manual Installation
  1. Download the text-to-speech-player.zip archive.
  2. Unzip and upload the text-to-speech-player directory to /wp-content/plugins/.
  3. Activate the plugin through the Plugins menu in WordPress.

屏幕截图:

  • Real-time synchronized word and sentence read-along highlighting with focus dimming.
  • Live Interactive Player Preview and Appearance customization tab in admin settings.
  • Voice & Speech settings with browser voice dropdown and test synthesis button.
  • Phonetic Pronunciation (Aliases) dictionary table with inline audio test.
  • Bring-Your-Own-Key (BYOK) AI provider settings (OpenAI, ElevenLabs, Google Cloud, Polly, Custom).
  • Audio listening analytics dashboard with top played posts and engagement stats.
  • Post edit screen sidebar metabox with custom MP3 upload and voice overrides.
  • Posts list table with Audio Status column and bulk enablement actions.

升级注意事项:

1.0.0 Initial release of Text to Speech Player. Install to convert your articles and pages into natural speech.

常见问题:

Does this plugin require paid API keys?

No. The default speech engine runs entirely in your visitor's web browser using the standard Web Speech API at zero cost. It requires no subscription, no credit card, and zero cloud API keys. Cloud AI providers (OpenAI, ElevenLabs, Google Cloud) are completely optional for users who want neural voices.

How do I prevent the player from showing on my homepage?

Go to Text to Speech > Settings > General and turn on "Disable Player on Front Page / Home Page". You can also disable the player on any specific post or page using the "Text to Speech Player" metabox in the editor sidebar.

How do I place the audio player on a specific place on the page?

Set Player Position to "Manual (Shortcode / Block Only)" in Text to Speech > Settings > General. Then insert the [tts_player] shortcode or block exactly where you want the player to appear.

Can I customize the player colors and style?

Yes. Under Text to Speech > Settings > Appearance, you can choose between 5 color themes (Modern Light, Dark Glass, Solid, Outline, Soft Tint), customize the accent color with a live color picker, adjust border radius, change button sizes, and configure real-time word highlighting colors.

Does the plugin support multilingual websites?

Yes. The plugin automatically detects the language of the current post (compatible with native WordPress locales, Polylang, WPML, and TranslatePress) and selects matching native voices in that language.

Can I upload pre-recorded MP3 voiceovers instead of speech synthesis?

Yes. When editing any post or page, look for the "Text to Speech Player" sidebar panel and paste the URL of your uploaded MP3 file into the "Custom MP3 Audio URL" field. The player will stream your MP3 file instead of synthesizing speech.

How does the synchronized read-along highlighting work?

As the audio plays, the player synchronizes with speech boundaries in real time, highlighting the current word in yellow and the active sentence with a soft background tint, while gently auto-scrolling to keep the reading position centered in the viewport.

Can I add custom pronunciation for abbreviations and acronyms?

Yes! Navigate to Text to Speech > Settings > Pronunciation (Aliases). You can add phonetic rules such as reading "WP" as "WordPress", "SEO" as "Search Engine Optimization", or "COVID-19" as "Covid nineteen".

Is the player mobile-friendly?

Yes. The audio player and sticky floating dock are fully responsive and touch-optimized for iOS, iPadOS, Android smartphones, and tablets.

Does it affect my website loading speed?

No. The frontend runtime JavaScript is under 15 KB with zero third-party script dependencies. Assets are loaded asynchronously and do not block page rendering.

更新日志:

1.0.0