plugin-icon

WP Speech Contents

Door shin1kt·
Displays a button to speech the content.
Versie
0.3.2
Actieve installaties
30
Laatst bijgewerkt
Sep 13, 2017

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'; });
Gratisop Business abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 4.8.27
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.