vue+文字转换为语音播放,播放指定内容,附带js版本 ,SpeechSynthesisUtterance

首先:

调动方法:参数为指定文字:

        //语音播报
      yybbFun(data){
        this.commonjs.handleSpeak(data);
      },

公共方法地址:

https://mp.csdn.net/postedit/94406138

方法指南:

1、

2、vue+文字转换为语音播放,播放指定内容,附带js版本 ,SpeechSynthesisUtterance_第1张图片

这里主要用的是SpeechSynthesisUtterance的方法

----------------------------------------------------------------------------js方法




	


	
	 
	 


 

你可能感兴趣的:(vue,vue-插件)