{"id":74587,"date":"2017-09-13T00:59:24","date_gmt":"2017-09-13T00:59:24","guid":{"rendered":"https:\/\/ja.wordpress.org\/plugins\/wp-speech-contents\/"},"modified":"2017-09-13T20:56:54","modified_gmt":"2017-09-13T20:56:54","slug":"wp-speech-contents","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/wp-speech-contents\/","author":7670956,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3.2","stable_tag":"0.3.2","tested":"4.8.28","requires":"4.8","requires_php":"","requires_plugins":"","header_name":"WP Speech Contents","header_author":"kt_shin1","header_description":"Read the content","assets_banners_color":"","last_updated":"2017-09-13 20:56:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.katacom.jp\/a\/wp-speech-contents\/","header_author_uri":"http:\/\/www.katacom.jp\/","rating":0,"author_block_rating":0,"active_installs":30,"downloads":1447,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1729073","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1729073","resolution":"256x256","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.3","0.3.1","0.3.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146319],"plugin_category":[],"plugin_contributors":[92510],"plugin_business_model":[],"class_list":["post-74587","plugin","type-plugin","status-publish","hentry","plugin_tags-webspeechapi","plugin_contributors-kt_shin1","plugin_committers-kt_shin1"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-speech-contents\/assets\/icon-128x128.png?rev=1729073","icon_2x":"https:\/\/ps.w.org\/wp-speech-contents\/assets\/icon-256x256.png?rev=1729073","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Displays a button to speech the content.\nSingle page only\nWeb Speech API compatible browser only<\/p>\n\n<p><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/API\/Web_Speech_API\">Web Speech API Browser compatibility.<\/a><\/p>\n\n<h4>Example<\/h4>\n\n<p>You can change the display position with a filter hook.<\/p>\n\n<pre><code>add_filter( 'wp-speech-contents_mode', function () {\n    return 'bottom'; \/\/ top or bottom\n});\n<\/code><\/pre>\n\n<p>You can change the content to be read out with the filter hook.<\/p>\n\n<pre><code>add_filter( 'wp-speech-contents_content', function ( $content ) {\n    $content = preg_replace('\/\\pS\/u','',$content); \/\/ Delete symbols etc.\n    $content = 'Speech starts!.'.$content; \/\/ First \"Speech starts!\"\n    return $content;\n});\n<\/code><\/pre>\n\n<p>You can Setting the language to be read out with the filter hook.<\/p>\n\n<pre><code>add_filter( 'wp-speech-contents_language', function ( ) {\n    return 'ja-JP';\n});\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>wp-speech-contents<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Bug fix : Not stop when reloading the page.<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Added filter hook which can change language.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Added filter hook which can change content.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added filter hook which can change position.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>first release.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the <code>wp-speech-contents<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress.<\/li>\n<\/ol><\/dd>\n\n<\/dl>","raw_excerpt":"Displays a button to speech the content.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/74587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=74587"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kt_shin1"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=74587"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=74587"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=74587"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=74587"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=74587"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=74587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}