该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Speech Contents

描述

Displays a button to speech the content.
Single page only
Web Speech API compatible browser only

Web Speech API Browser compatibility.

Example

You can change the display position with a filter hook.

add_filter( 'wp-speech-contents_mode', function () {
    return 'bottom'; // top or bottom
});

You can change the content to be read out with the filter hook.

add_filter( 'wp-speech-contents_content', function ( $content ) {
    $content = preg_replace('/\pS/u','',$content); // Delete symbols etc.
    $content = 'Speech starts!.'.$content; // First "Speech starts!"
    return $content;
});

You can Setting the language to be read out with the filter hook.

add_filter( 'wp-speech-contents_language', function ( ) {
    return 'ja-JP';
});

安装

  1. Upload the wp-speech-contents folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.

常见问题

Installation Instructions
  1. Upload the wp-speech-contents folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.

评价

此插件暂无评价。

贡献者及开发者

「WP Speech Contents」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

0.3.2

  • Bug fix : Not stop when reloading the page.

0.3.1

  • Added filter hook which can change language.

0.3

  • Added filter hook which can change content.

0.2

  • Added filter hook which can change position.

0.1

  • first release.