Thank you, I had not tried inputting the Matchware values into the code
generator, I know that should have been my first port of call, but, was
working from the values the Matchware generator put out and trying to sync
them with our current SWFObject code as it had briefly worked once. I will
try your suggestion and come back.

Regards Jonathan

Tel:   0870 774 4234
Mob: 07768 390681


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Aran Rhee
Sent: 08 November 2008 01:11
To: [email protected]
Subject: RE: MatchWare Screencorder 5 & SWFObject



Jonathan.

So using the SWFObject code generator
(http://www.swffix.org/swfobject/generator/) and inputting in the values
that the Matchware program is generating, you get the below. If you modify
the swfobject.js and expressInstall.swf locations to where they actually
live on your server, does this work?


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
        <head>
                <title></title>
                <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
                <script type="text/javascript" src="swfobject.js"></script>
                <script type="text/javascript">
                        swfobject.registerObject("SCVideo", "9.0.0",
"expressInstall.swf");
                </script>
        </head>
        <body>
                <div>
                        <object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="696"
height="438" id="SCVideo" name="SCVideo" align="middle">
                                <param name="movie" value="http://
83.138.134.70/LOL/Client_content/RFU/Match Video/RFU1.swf" />
                                <param name="quality" value="high" />
                                <param name="bgcolor" value="#000000" />
                                <param name="seamlesstabbing" value="false"
/>
                                <param name="swliveconnect" value="true" />
                                <param name="allowscriptaccess"
value="always" />
                                <!--[if !IE]>-->
                                <object type="application/x-shockwave-flash"
data="http:// 83.138.134.70/LOL/Client_content/RFU/Match Video/RFU1.swf"
width="696" height="438" align="middle">
                                        <param name="quality" value="high"
/>
                                        <param name="bgcolor"
value="#000000" />
                                        <param name="seamlesstabbing"
value="false" />
                                        <param name="swliveconnect"
value="true" />
                                        <param name="allowscriptaccess"
value="always" />
                                <!--<![endif]-->
                                        <a
href="http://www.adobe.com/go/getflashplayer";>
                                                <img
src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gi
f" alt="Get Adobe Flash player" />
                                        </a>
                                <!--[if !IE]>-->
                                </object>
                                <!--<![endif]-->
                        </object>
                </div>
        </body>
</html>



Can you check if this code works for you?



Cheers,
Aran

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Jonathan
Sent: Saturday, 8 November 2008 3:31 AM
To: SWFObject
Subject: MatchWare Screencorder 5 & SWFObject


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