用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);`