12 2022 档案
视频全屏自适应
摘要:<video id="vi" controls style="width:100%; height:100%; object-fit:fill"> <source src='Img/3.mp4' type="video/mp4"></source> </video>
阅读全文
对接百度人脸分割接口,报出216201错误
摘要:将base64中的空格去掉 代码: public ActionResult body_seg(string base64) { string token = getAccessToken(); logo: string host = "https://aip.baidubce.com/rest/2.
阅读全文
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方法调用失败,因为用户没有先操作文档【用户没有先去跟网页做交互再执行音频播
阅读全文