我有一个html(在chrome中运行)
<iframe src="/web?/assets/modelslib/Code Examples/Much Matter in Motion.nlogo" width="850" height="600">
已向此iframe加载“运动中的许多内容”应用程序 在用户单击屏幕之前,该应用程序无法启动(我将其添加为替代方法) 在chrome DevTools中存在错误: play()失败,因为用户没有先与文档进行交互
我发现视频出现了此类问题。我尝试了与视频相同的解决方案,但没有帮助
<iframe id="iframe" muted="muted" src="/web?/assets/modelslib/Code Examples/Much Matter in Motion.nlogo" width="850" height="600" allow="autoplay">
我该如何解决此问题/取消与文档的互动