📜  错误:navigator.mediaDevices 未定义.当前文档似乎未安全加载. - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:12.998000             🧑  作者: Mango

代码示例1
Navigate via address-bar to chrome://flags/#unsafely-treat-insecure-origin-as-secure in Chrome.

Find and enable the Insecure origins treated as secure section.

Add any addresses you want to ignore the secure origin policy for. (Include the port number if required.)

Save and restart Chrome.