Open GoogleCodeExporter opened 8 years ago
[deleted comment]
Yes, it does work well.
//Example
// Globals
var major = 10;
var minor = 0;
var release = 22;
// CONTAINER ATTRIBUTES
//id: "ID",
//name: "NAME",
//align: "middle"
//class: ""
var attributes = {
id: "ID_OF_FLASHOBJECT",
name: "NAME_OF_FLASHOBJECT"
};
// FLASH PARAMETERS
// scale: "",
// salign: "",
// seamlesstabbing: "",
// base: "",
// swliveconnect: "",
// flashvars: "",
// devicefont: "",
//wmode: "window|opaque|transparent|direct|gpu"
var params = {
play: "true",
loop: "false",
menu: "true",
quality: "high",
wmode: "opaque",
bgcolor: "#869ca7",
allowscriptaccess: "always",
allowfullscreen: "true"
//allownetworking: "true"
};
// FLASH VARS
var flashvars = {};
//SWFObject 2.1 - dynamic
swfobject.embedSWF("FILENAME.swf", "myContent", "100%", "100%",
"10.0.22", "expressInstall.swf",
flashvars,
params,
attributes
);
Goodbye from Russia,
gumengangler.
Original comment by gumengangler
on 30 May 2009 at 12:38
Your flash ID = "ID_OF_FLASHOBJECT" change the menu JS to reflect that :
this.FlashObjectID = "ID_OF_FLASHOBJECT";
Then adjust the "call: function() {" to this :
var obj = swfobject.getObjectById(this.FlashObjectID);
obj.rightClick();
Hope that helps.
Original comment by Johnny.J...@gmail.com
on 29 Dec 2011 at 2:39
Original issue reported on code.google.com by
intoxo...@gmail.com
on 27 Jan 2009 at 11:11