会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
我的梦想是开个小店
博客园
首页
新随笔
联系
管理
订阅
2022年12月9日
play() failed because the user didn‘t interact with the document first
摘要: 使用js调用音频文件报错,错误信息如下:play() failed because the user didn’t interact with the document first该报错是浏览器对于自动播放限制抛出的:play方法调用失败,因为用户没有先操作文档【用户没有先去跟网页做交互再执行音频播
阅读全文
posted @ 2022-12-09 10:06 我的梦想是开个小店
阅读(2757)
评论(0)
推荐(0)
编辑
公告