我的网页上有一个嵌入式视频。单击时如何阻止嵌入视频链接到其他网页?嵌入的视频不是来自youtube或vimeo。
这是简单的代码:
<iframe src="http://flashservice.simple.com/embedframe/18558608" frameborder=0 width=510 height=400 scrolling=no allowfullscreen ></iframe>
答案 0 :(得分:0)
为I-Frame提供pointer-events: none;
的CSS属性。注意,这在IE&lt; 11。