artDialog icon indicating copy to clipboard operation
artDialog copied to clipboard

firefox下iframe 方式加载的页面不显示FLASH

Open doocal opened this issue 10 years ago • 2 comments

如下代码保存成html,用iframe 方式加载这个页面,在 firefox 42.0 下面无法显示flash(IE,chorme下可正常显示),但是通过F12显示已经加载。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>美图WEB开放平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://open.web.meitu.com/sources/xiuxiu.js" type="text/javascript"></script>
<script type="text/javascript">
window.onload=function(){
       /*第1个参数是加载编辑器div容器,第2个参数是编辑器类型,第3个参数是div容器宽,第4个参数是div容器高*/
    xiuxiu.embedSWF("altContent",1,"100%","100%");
       //修改为您自己的图片上传接口
    xiuxiu.setUploadURL("http://web.upload.meitu.com/image_upload.php");
        xiuxiu.setUploadType(2);
        xiuxiu.setUploadDataFieldName("upload_file");
    xiuxiu.onInit = function ()
    {
        xiuxiu.loadPhoto("http://open.web.meitu.com/sources/images/1.jpg");
    }   
    xiuxiu.onUploadResponse = function (data)
    {
        //alert("上传响应" + data);  可以开启调试
    }
}
</script>
<style type="text/css">
    html, body { height:100%; overflow:hidden; }
    body { margin:0; }
</style>
</head>
<body>
<div id="altContent">
    <h1>美图秀秀</h1>
</div>
</body>
</html>

doocal avatar Nov 17 '15 03:11 doocal

?????

doocal avatar Nov 21 '15 08:11 doocal

你在样式表里面把这个属性transform:scale 去掉试试!

kuangche avatar Dec 01 '15 03:12 kuangche