我们生成 HTML 文件来在浏览器上显示 SWF。以下是我们的 HTML 代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0021)http://www.domain_name.com -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Keywords" content="xxxxx">
<meta name="Description" content="">
<title>test</title> // Title Of The HTML
<link rel="image_src" href="edge05_thumb.png">
<link rel="viewlet" href="edge05.swf"> // SWF
<script language="javascript" type="text/javascript"></script>
...
</html>
这段代码在其他浏览器上都可以正常运行,但是在Edge浏览器上却只显示白屏。通过我的分析,我发现只要删除第二行中的注释(saved from url=(0021)http://www.domain_name.com)
,代码就可以正常工作。
我尝试在html中添加注释,但没有效果。