会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
随笔:89 文章:0 评论:45 阅读:
33万
米雪也是雪❤
坚持。
博客园
首页
新随笔
联系
订阅
管理
11 2021 档案
speechSynthesis 离线语音合成 浏览器自动播报
摘要:speechSynthesis属于H5新增API,主要是用来做音频合成的,最近由于项目(内网)需要对告警做音频提示,所以用到了这个,在此简单总结下。 先看下兼容性: 火狐谷歌浏览器都支持自动播放,有些是不支持的,需要引导用户手动操作,比如点击才生效; 直接贴代码吧: export const spe
阅读全文
posted @
2021-11-03 17:36
饭米雪
阅读(1838)
评论(0)
推荐(0)
编辑
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
公告
昵称:
饭米雪
园龄:
7年6个月
粉丝:
41
关注:
7
+加关注
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
我的标签
vue
(2)
yarn
(1)
webpack
(1)
vue-cli
(1)
docker
(1)
清空递归定时器
(1)
随笔档案
2022年12月(1)
2022年11月(1)
2022年6月(3)
2022年2月(2)
2022年1月(4)
2021年12月(1)
2021年11月(1)
2021年9月(2)
2021年8月(5)
2021年5月(1)
2021年4月(4)
2021年3月(1)
2020年11月(1)
2020年10月(3)
2020年9月(1)
2020年8月(1)
2020年7月(1)
2020年6月(2)
2020年5月(2)
2020年4月(2)
2020年2月(4)
2019年12月(5)
2019年11月(3)
2019年10月(1)
2019年9月(2)
2019年8月(1)
2019年6月(1)
2019年5月(1)
2019年4月(1)
2019年3月(1)
2019年2月(1)
2019年1月(1)
2018年12月(2)
2018年11月(3)
2018年10月(1)
2018年9月(2)
2018年8月(2)
2018年6月(1)
2018年5月(2)
2018年3月(3)
2018年2月(1)
2018年1月(8)
2017年11月(1)
2017年8月(2)
更多
阅读排行榜
1. Vue+WebSocket 实现页面实时刷新长连接(79681)
2. yarn 出现 【 info There appears to be trouble with your network connection. Retrying... 】超时问题解决(31618)
3. vue-resource+element upload上传(遇到formData总是变为object格式)(16382)
4. vue中img图片加载中以及加载失败显示默认图片问题(13803)
5. input el-input 只能输入正整数验证,过滤字母e且兼容(12560)
评论排行榜
1. Vue+WebSocket 实现页面实时刷新长连接(11)
2. vue-resource+element upload上传(遇到formData总是变为object格式)(5)
3. echarts 折线图点击高亮(5)
4. series not exists. Legend data should be same with series name or data name 【echart饼图出现这种提示】(4)
5. input el-input 只能输入正整数验证,过滤字母e且兼容(4)
推荐排行榜
1. series not exists. Legend data should be same with series name or data name 【echart饼图出现这种提示】(3)
2. input el-input 只能输入正整数验证,过滤字母e且兼容(3)
3. Vue+WebSocket 实现页面实时刷新长连接(3)
4. ajax报415解决方法(2)
5. element ui表格相同内容自动合并(2)
最新评论
1. Re:yarn 出现 【 info There appears to be trouble with your network connection. Retrying... 】超时问题解决
真的好用。
--xclidongbo
2. Re:series not exists. Legend data should be same with series name or data name 【echart饼图出现这种提示】
有用,帮我解决了
--爱吃蓝莓的猪
3. Re:series not exists. Legend data should be same with series name or data name 【echart饼图出现这种提示】
我出错的代码是这样的: //将后台返回的数据更新到option中 if(res.status){ option.legend.data = res.data.legend; option.xAxis....
--树深时见鹿nnn
4. Re:series not exists. Legend data should be same with series name or data name 【echart饼图出现这种提示】
有用
--初生土豆
5. Re:series not exists. Legend data should be same with series name or data name 【echart饼图出现这种提示】
刚好遇到了这个问题
--叶生啊
点击右上角即可分享