服务端flash不能显示

用swfobject.js嵌入flash,在本地的html里可以正常显示,但是放到服务端就不能显示?
如果不使用swfobject.js,直接使用object标签是可以正常显示的。`

var swfVersionStr = "10.0";
var xiSwfUrlStr = "playerProductInstall.swf";
var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.play = "true";
params.loop = "true";
params.wmode = "transparent";
var ctlAttrs = {};
ctlAttrs.id = "controlBar";
ctlAttrs.name = "controlBar";
swfobject.embedSWF(
    "controlBar.swf", "flashContent",
    "75", "160",
    swfVersionStr, '',
    flashvars, params, ctlAttrs);  
var turnAttrs = {};
turnAttrs.id = "mapTurn";
turnAttrs.name = "mapTurn";
swfobject.embedSWF(
    "mapTurn.swf", "Div2",
    "120", "55",
    swfVersionStr, '',
    flashvars, params, turnAttrs);`
阅读 3.5k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进