Encoding Parameters in HTTP Queries

When passing parameters to FSI Viewer by HTTP query you have to make sure to provide url-encoded values.
For example the URL

is invalid as it contains the characters “&” and “=”.
In these cases you have to url-encode the parameter value (that is everything following the questionmark in fsi.swf?) like this:

FSI Viewer and FSI Showcase can be integrated into any XHMTL document like an ordinary Flash program. Anyway, embedding a Flash into XHTML requires following the syntax more strictly compared to HTML 4.0. Please refer to the documentation at W3C aswell.

XHTML does not support the <EMBED> tag, which is still very popular. This leads to problems with old browser versions, which are thus not able to display Flash programs embedded into XHTML documents.

Please use the <object> tag only, when integrating FSI Viewer into XHTML documents.

The greatest difference compared to integrating FSI Viewer into HTML is, that you have to add the path to FSI Viewer using the data parameter as well as using the movie parameter. This is necessary, because of Mozilla and other browsers (Gecko engine), which require the path to be given in the data attribute.

The following HTML file helps encoding any attributes you like to pass on to the FSI Viewer instance into HTML:

If you enter any paramters in the upper box, the JavaScript URL-encodes any invalid chars and displays the URL encoded string in the lower box. You can then copy and paste the lower box’ contents or click on “Encode & Copy” to copy the contents to the clipboard if you use MSIE.