Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2005
    Location
    New Zealand
    Posts
    269

    How to replace a flash image for non compatible browsers?

    Hi all, I have no experience with Flash whatsoever and one of my interns has made a nice flash picture for my site. I want to use that picture, but what should I do to cater for those browsers / computers that don't / don't want to support Flash? - I suppose an alternative gif of jpg is the solution; but what code would pull it out for non-Flash visitors?

  2. #2
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    It should be built in to the embeded flash - typically if the browser doesnt display flash (has no support for it) it shows a link that says "your browser does not support flash, click here to get it" or something like that. That is pretty standard.

  3. #3
    Join Date
    Mar 2005
    Location
    New Zealand
    Posts
    269
    Hmmm, thanks; yes, I'm studying the <embed> and <noembed> tags

  4. #4
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    For example:

    <object classid="clsidOME-CLASS-ID-HERE" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="568" height="161">
    <param name="movie" value="FILE NAME">
    <param name="quality" value="high">
    <embed src="FILE NAME" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="568" height="161"></embed>
    </object>

  5. #5
    Join Date
    Mar 2005
    Location
    New Zealand
    Posts
    269
    HostCheap.us.com, thanks, but from what I can understand your code only prompts the user to download Flash. I prefer to assume that if the user does not have Flash, he is not going to get it to see my website, and I am looking for ways of displaying alternate still images,

  6. #6
    Join Date
    Jun 2004
    Location
    Woodinville Washington US
    Posts
    601
    Then change the

    <embed src="FILE NAME" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="568" height="161"></embed>


    portion. That is what is called when it doesnt support flash - change the src= to show the picture, and leave the plugins part out.

  7. #7
    Join Date
    Mar 2005
    Location
    New Zealand
    Posts
    269
    Great; thanks. I will try that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •