Dictate Button

外掛說明

⚠️ This plugin is no longer supported and will stop working due to API changes.

The Dictate Button plugin enables speech-to-text functionality for various form types on your site by adding a dictate button which performs the transcription via the dictate-button.io service.
It allows users to dictate text rather than type it, making your site more accessible and user-friendly.

Please note: This plugin requires an account and site registration on dictate-button.io.

Features

  • Adds a dictate button to WordPress forms
  • Configure which form types show the dictate button
  • Uses the dictate-button component in exclusive mode
  • Admin settings page for easy configuration
  • Works with modern browsers supporting Web Speech API

Supported Form Types

  • WordPress comment forms
  • WordPress search forms
  • Contact Form 7 forms

Requirements

  • A modern browser that supports the Web Speech API (Chrome, Edge, Safari, Firefox)
  • Site registration on dictate-button.io

External Services

This plugin performs audio transcription through the Dictate Button API.

When requested by the user, it records the user’s voice and sends the recording to the Dictate Button API for transcription.

Please note that the Dictate Button service is still in Beta, so we may store some of your data temporary, such as your browser user agent and the voice recording with transcription, for the sake of testing and improving the service.

Currently this service is provided “AS IS” and free of charge (up to certain limits):
terms of service, privacy policy.

Third-Party Libraries

The plugin includes the dictate-button library of Apache License 2.0.

Development

The plugin development repository is available on GitHub.

We locally bundle the JS code from Apache-2.0-licensed dictate-button library to the assets/js folder this way:

pnpm install
pnpm run build

The source code of the dictate-button library is available on GitHub.

螢幕擷圖

安裝方式

  1. Sign up and register your site on dictate-button.io
  2. Upload the dictate-button folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Settings > Dictate Button to configure which form types should show the dictate button

常見問題集

What browsers are supported?

The plugin works with modern browsers that support the Web Speech API, including Chrome, Edge, Safari, and Firefox.

Do I need to sign up on dictate-button.io?

Yes, you need to sign up and register your site on dictate-button.io for the plugin to work properly.

Which form types are supported?

Currently supported:
* WordPress comment forms
* WordPress search forms
* Contact Form 7 forms

How does the plugin work?

The plugin automatically adds the necessary data-dictate-button-on attribute to the form elements you select in the settings and enhances those elements with the dictate button.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Dictate Button〉的開發相關工作。

參與者

將〈Dictate Button〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2.0

  • dictate-button library update to 1.9.0: Simplified script installation. Updated internal dependencies.
    No visible changes for you.

1.1.0

  • dictate-button library update to 1.6.0: Added support for the long press flow.
    You long press the button, it starts recording. You release the button, it stops recording. The experience is similar to the audio/video recording in messengers.
    Please note, the short tap flow remains in place.

1.0.3

  • fix: Updated the dictate-button library to version 1.5.1 which addresses the issue with the microphone is not being released after use.

1.0.2

  • chore: Trying to get used to WordPress.org SVN plugin deployment.

1.0.1

  • docs: Fixed code block formatting in the readme.

1.0.0

  • Initial release
  • Support for WordPress comment forms
  • Support for WordPress search forms
  • Support for Contact Form 7
  • Admin settings page
  • Integration with dictate-button.io service