problems with Flash embed in O2VR3

Q&A about the latest versions
Post Reply
ScottWitte
Posts: 96
Joined: Wed Aug 29, 2007 9:33 pm
Location: Milwaukee, USA
Contact:

The only issue of consequence is absence of expressInstall.swf from the O2VR and P2VR packages. This has been the case from day one and should really be corrected.

Embed code, HTML5 page generation

var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "ob`j"; // Do we mean obj here?
attributes.name = "obj";
attributes.align = "middle";
swfobject.embedSWF(
"surfacide.swf", "container",
"100%", "100%",
"9.0.0", "expressInstall.swf",
flashvars, params, attributes);

Embed code, Flash HTML page generation

var flashvars = {};
var params = {};
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
params.base="."; // "." is the same as having nothing but it is inconsistent with the HTML5 version
var attributes = {};
attributes.id = "obj";
attributes.name = "obj";
attributes.align = "middle";
swfobject.embedSWF(
"surfacide.swf", "flashContent",
"100%", "100%",
"9.0.0", "expressInstall.swf",
flashvars, params, attributes);


ExpressInstall.swf should really be included with the O2VR and P2VR packages just like swfobject. Yes, it is easy to find and install yourself just like swfobject but easy to forget as well.

HTML5 ISSUE

In Html5 page generation you can choose to embed the XML on the page. That works but the separate XML file is still generated. it doesn't seem necessary.
User avatar
JimWatters
Posts: 329
Joined: Thu Oct 07, 2010 6:16 pm
Location: Saint John, New Brunswick
Contact:

For expressInstall.swf see Issue #1109

attributes.id will be fixed in the next release. Obj is what we indented the default id to be.

I am investigating the differences for params.base=".";
ScottWitte
Posts: 96
Joined: Wed Aug 29, 2007 9:33 pm
Location: Milwaukee, USA
Contact:

Cool
Post Reply