SpeechSynthesisUtterance ########################################## ...
let msg new SpeechSynthesisUtterance 你好 msg.rate msg.pitch msg.text 您好赵 msg.volume speechSynthesis.speak msg var synth window.speechSynthesis undefinedvar voices synth.getVoices msg.voice voices ...
2021-01-24 01:15 1 1716 推荐指数:
SpeechSynthesisUtterance ########################################## ...
SpeechSynthesisUtterance基本属性 SpeechSynthesisUtterance.lang 获取并设置话语的语言 SpeechSynthesisUtterance.pitch 获取并设置话语的音调(值越大越尖锐,越低越低沉 ...
参考链接:https://blog.csdn.net/qq_40571631/article/details/89738575 --- SpeechSynthesisUtterance基本介绍 SpeechSynthesisUtterance是HTML5中新增的API,用于将指定文字合成 ...
页面: js代码 ...
h5音频播放以及重新播放 事件的添加方式 ...
最近新做一个类似奖励视频的内置视频播放功能,并且实现边下载边播放,缓存后下次直接播放本地视频,自动适应横竖屏展示,给大家分享下核心代码 有不太清楚的地方可以加我微信一起探讨、主要六个文件如下 ECGRewardVideoView.h、 ECGRewardVideoView.m ...
代码 <video id="screenVideo" ref="video" :muted='muted' :src="videoSrc" ...