2023年11月15日

chrome浏览器报Cannot read properties of undefined (reading 'getUserMedia')

摘要: chrome访问摄像头的时候可能报这个错误。使用https协议可以解决这个问题,如果不能使用https可以通过修改chrome配制解决。 在chrome地址栏输入chrome://flags/#unsafely-treat-insecure-origin-as-secure 在Insecure or 阅读全文

posted @ 2023-11-15 16:44 荷楠仁 阅读(1502) 评论(0) 推荐(0) 编辑

javascript promise all实现图片顺序加载

摘要: 不使用promise时是异步加载,图片加载的顺序不固定 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-sca 阅读全文

posted @ 2023-11-15 16:35 荷楠仁 阅读(53) 评论(0) 推荐(0) 编辑

导航