Apraksts
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';
});
Uzstādīšana
- Upload the
wp-speech-contentsfolder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
BUJ
- Installation Instructions
-
- Upload the
wp-speech-contentsfolder to the/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Upload the
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“WP Speech Contents” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “WP Speech Contents” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
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.