Hi, with your previous help we have our web app loading swf files fine
with your js script loaded at root level and referenced from the
hundreds of html pages our app has. Under is the html code we put in
each html page and it loads flash movies and other flash content ok,
but, not Screencorder flash swf files. I have searched your dbase and
google for help.

*************************

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>slideshow</title>
</head>
<object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="517" height="479" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="http://83.138.134.70/LOL/Client_content/abc/
xyz.swf" />
<object type="application/x-shockwave-flash" data="http://
83.138.134.70/LOL/Client_content/abc/xyz.swf" width="320"
height="320">
          <p>Alternative content</p>
        </object>
      </object>

*****************************
But, when we generate a Screencorder Flash quiz file (e.g. a video
with questions at various points) it creates a flash embed.js script
and the html file. We are not using their js script as it would
conflict with SWFObject one. If we use id=movie the flash player loads
with controls but no content. If we use the id Screencorder uses
(id=SCVideo) the page load hangs just showing the background area. In
trying every combination of params it did run ok once, but, I forgot
to note it and can not repeat it. Below is the latest html file code
we tried, just get the player, no content

**************************

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>slideshow</title>
</head>

<object id="movie" classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000" width="696" height="438" align="middle">

<param name="allowScriptAccess" value="always" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<param name="swliveconnect" value="true" />
<param name="SeamlessTabbing" value="false" />
<param name="movie" value="http://83.138.134.70/LOL/Client_content/RFU/
Match Video/RFU1.swf" />
<object type="application/x-shockwave-flash" data="http://
83.138.134.70/LOL/Client_content/RFU/Match Video/RFU1.swf" width="696"
height="438">

<p>Alternative content</p>
      </object>
      </object>

********************************
and below is the html file that Screencorder generates which we
adapted to create the one above.

*******************************

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
        <head>
                <meta http-equiv="Content-Type" content="text/html; 
charset=utf-8" /
>
                <title></title>
                <script src="flash_embed.js"></script>
                <script type="text/javascript" language="JavaScript">

        //
-----------------------------------------------------------------------------
        // specify required Flash Player version
        var majorVers = 9;
        var minorVers = 0;
        var revision = 0;
        //
-----------------------------------------------------------------------------


                </script>
        </head>
        <body bgcolor="#000000">
                <script language="JavaScript" type="text/javascript">
                <!--


                // Version check based upon the values entered above in 
"Globals"
                var versionOk = GetPlayerVer(majorVers, minorVers, revision);

                // Check to see if the version meets the requirements for 
playback
                if (versionOk) {
                        // acceptable version detected
                        CreatePlayer(
                                                "src", "RFU1",
                                                "width", "696",
                                                "height", "438",
                                                "align", "middle",
                                                "id", "SCVideo",
                                                "quality", "high",
                                                "bgcolor", "#000000",
                                                "name", "SCVideo",
                                                "allowScriptAccess","always",
                                                "type", 
"application/x-shockwave-flash",
                                                'codebase', 
'http://fpdownload.macromedia.com/get/flashplayer/
current/swflash.cab',
                                                "pluginspage", 
"http://www.adobe.com/go/getflashplayer";,
                                                "swliveconnect", "true",
                                                "SeamlessTabbing", "false"
                        );
                } else {  // too low a version, or failed to detect the plugin

var alternateContent = 'This page requires Adobe Flash Player version
9 or higher to display correctly. '
                        + '<a href=http://www.adobe.com/go/getflash/>Get the 
newest Flash
Player</a>';
                        document.write(alternateContent);  // non-flash content
                }
                 -->
                </script>
                <noscript>
                        This content requires the Adobe Flash Player version 9 
or higher
and a browser with JavaScript enabled.
                        <a href="http://www.adobe.com/go/getflash/";>Get 
Flash</a>
                </noscript>
        </body>
</html>

***********************************

As our web app can only be accessed by individual logins, its not easy
to give you access, however, other swf files play ok, so, the
referencing of the SWFObject js script which can be seen when viewing
source code for the html page, can not be the problem, its seems to be
about modifying the html code that Screencorder generates. Do you have
any ideas. The Screencorder file plays fine when loaded to a
standalone webpage on a test site using its own js file and html code.

Regards Jonathan.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to