<!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title></head><body> <iframe src="http://www.bilibili.com/blackboard/html5player.html?aid=14387031&cid=23475167" width="920" height="500" frameborder="no"></iframe></body></html>iframe里面的地址直接输入到浏览器就可以看,但是用iframe引用就不显示,求解如何处理?
2 回答

GCT1015
TA贡献1827条经验 获得超4个赞
我也发现这个问题了,之前还是可以的,而且直接访问这个地址是能打开视频的。
现在我在console中发现了若干条如下的warning
The key "target-densitydpi" is not supported.
Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.

然后调试的Elements中的iframe播放器的div是空的<div id='bofqi'></div>。
不知道是不是"target-densitydpi"这个引起写入dom失败之类的。
添加回答
举报
0/150
提交
取消