Topic: SimpleViewer requires the Flash Player

Hello,

I noticed that I have a problem with my web site. For my portfolio my web master installed some years ago the SimpleViewer. The software is installed on the web site server. When I want to check my "portfolio" site I see the black screen and "SimpleViewer requires the Flash Player" and the button to get the Flash Player. I have already appropriate version of Flash Player installed (11.4.402.287) but it still doesn't work. Could you please help in this matter as I'm not the IT specialist?

http://www.pecphoto.com/galsv/loga/upgrade.html

Thank you in advance!
Katarzyna Pec

Re: SimpleViewer requires the Flash Player

There is no SimpleViewer gallery embedding code on that page.
The page consists only of the text 'SimpleViewer requires the Flash Player. Get Flash Player' and a button linking to Adobe's web site (so when visiting that URL, that is all that will ever be displayed).
Please post the URL of the web page into which the gallery is embedded so that I can take a look and help further.

Steven Speirs
SimpleViewer Support Team.

Re: SimpleViewer requires the Flash Player

http://www.pecphoto.com/indexeng.htm

Re: SimpleViewer requires the Flash Player

There is no SimpleViewer embedding code on that web page either and when I click on the 'Portfolio' link, the browser is redirected to a web page that does not exist.

For reference, the instructions for 'Embedding SimpleViewer 1.9 in a HTML Page' can be found here.

Steven Speirs
SimpleViewer Support Team.

Re: SimpleViewer requires the Flash Player

Simple Viewer is installed on the FTP server. The code was on all pages. There were any changes - neither on the server nor in the html files. Some weeks ago my system was reinstalled.

It's strage because when I put in my browser window for example the link http://www.pecphoto.com/galsv/loga/index.htm to my portfolio with logos, the browser open a site with http://www.pecphoto.com/galsv/loga/uprage.html link. So, the file index.htm from "loga" folder is remplaced by upgrade.html file.

I found it in my html file index.htm site for logos:

<script language="javascript" type="text/javascript" src="flash_detect.js">
        <!--
        function getFlashVersion() { return null; };
        //-->
  </script>
  <script language="javascript" type="text/javascript">
        <!--
        var flashVersion = getFlashVersion();
        if (flashVersion < 6) {               
                location.replace("upgrade.html");
        }
        //-->
  </script>



<!-- galeria -->

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="650" height="450" valing="top" align="middle">
      <param name="movie" value="viewer.swf" />
      <param name="quality" value="high" />
      <param name="scale" value="noscale" />
      <param name="BGCOLOR" value="#5a7a5e" />
      <embed src="viewer.swf" width="650" height="450" align="middle" quality="high" scale="noscale" bgcolor="#5a7a5e" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />   
</object>

<!-- galeria koniec -->

Re: SimpleViewer requires the Flash Player

and my Adobe Flash Player plugin (in my browser) is activated:

Flash (2 files) - Wersja: 11.4.31.110
Shockwave Flash 11.4 r31

Re: SimpleViewer requires the Flash Player

Both of the most recent links you posted lead to error 404 (file not found) pages so I still do not know which page contains your gallery's embedding code.
However, from the code you posted, your getFlashVersion() function does not actually check the browser's flash version.
It always returns 'null', the browser is always redirected to your 'upgrade.html' page and the gallery's embedding code is never executed.
If you remove the following from your web page, your gallery should be displayed (if the user's browser has Adobe Flash Player installed and enabled):

<script language="javascript" type="text/javascript" src="flash_detect.js">
        <!--
        function getFlashVersion() { return null; };
        //-->
  </script>
  <script language="javascript" type="text/javascript">
        <!--
        var flashVersion = getFlashVersion();
        if (flashVersion < 6) {               
                location.replace("upgrade.html");
        }
        //-->
  </script>

If you wish to check the browser's flash version, you will need to rewrite your getFlashVersion() function.
A suitable method which you could use to do this would be the hasFlashPlayerVersion() method from the SWFObject library: http://code.google.com/p/swfobject/wiki/api
For example:

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
    if (!swfobject.hasFlashPlayerVersion("8.0.0")) {
        location.replace("upgrade.html");
    }
</script>
Steven Speirs
SimpleViewer Support Team.