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

<PARAM NAME="movie" VALUE="http://[domain]/fsi.swf?effects=sharpen=10&quality=75">

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:

<PARAM NAME="movie" VALUE="http://[domain]/fsi.swf?effects=sharpen%3D10%26quality%3D75

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:

<html>
      <head>
            <title>Urlencode Parameter</title>
            <script type="text/javascript">
                  function doEncode(){
                        document.forms[0].encodedtext.value = escape(document.forms[0].sourcetext.value);
                  }

                  function encodeAndCopy(){
                        doEncode();
                        try{
                              obj=document.forms[0].encodedtext;
                              if (obj){
                                    if (document.all){
                                          obj.select();
                                          window.clipboardData.setData('Text', obj.value);
                                    }
                              }
                              document.forms[0].sourcetext.focus();
                        }
                        catch(e){}
                  }
            </script>
            <style>
                  body,td{font-family:arial,helvetica;}
            </style>
      </head>
      <body>
            <form method="post" action="javascript:doEncode()">
            <table width="100%" height="100%" border="0">
            <tr><td align=center valign=middle>

                  <table>
                  <tr><td>&nbsp;</td><td><b>Enter parameter value</b> (e.g. "http://..."):</td></tr>
                  <tr>
                        <td>...fsi.swf?parameter=</td>
                        <td><input type="text" name="sourcetext" size="64" onchange="doEncode()" onkeyup="doEncode()"></td>
                  </tr>
                  <tr><td>&nbsp;</td><td><br><b>...URL-encoded parameter value:</b></td></tr>
                  <tr>
                        <td>...fsi.swf?parameter=</td>
                        <td><input type="text" readonly name="encodedtext" size="64"></td>
                  </tr>
                  </table>
                  <br>
                  <input type="reset" value="Clear" >
                  <input type="submit" value="Encode & Copy" onClick="encodeAndCopy()">
                  <br><br>

                  <i>Press "Encode & Copy" or hit "Enter" to url-encode the parameter value<br>
                  and copy the result to clipboard.
                  Copying to clipboard requires MSIE. </i>
            </form>
            </td></tr>
            </table>
            </body>
</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.