A Flash Developer Resource Site

Results 1 to 15 of 15

Thread: What will user see if they don't have a flash enabled browser?

  1. #1
    FK's Fnortner
    Join Date
    May 2001
    Location
    Tampa Florida USA
    Posts
    1,276
    sooo ... I have an html page with a couple of swf's on it. Will a visitor see a gaping hole where the swf is suppose to be? ... or will they see nothing at all?
    Thanks!

  2. #2
    N' then I might just
    Jump back on
    An' ride
    Like a cowboy
    Into the dawn
    ........To Montana.
    david petley's Avatar
    Join Date
    Jun 2000
    Location
    not in Montana ™
    Posts
    10,192
    a big hole.
    But, if you stick code like this (see below)as the last entry within the <object></object> tags, you should be able to put in an image.
    the code -
    ..................................................
    <NOEMBED>
    <img src="mazda2.gif" width=600 height=440 border=0></NOEMBED>
    .................................................. .....
    like this -
    (this is the code produced when you choose the 'copy HTML to clipboard' export option) THE INSERTED CODE IS BOLD AT THE BOTTOM

    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
    id=Movie1 width=600 height=440>
    <PARAM name=movie value="Mazda2.swf">
    <PARAM name=quality value=high>
    <PARAM name=bgcolor value="#000000">
    <EMBED name="Mazda2" src="Mazda2.swf"
    quality=high bgcolor="#000000"
    width=600 height=440
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    <NOEMBED>
    <img src="mazda2.gif" width=600 height=440 border=0></NOEMBED>


    </OBJECT>
    hope that helps,
    david p.


  3. #3
    Visualize whirled peas. VacMan's Avatar
    Join Date
    May 2001
    Location
    Torrance, CA
    Posts
    593
    Originally posted by david petley
    a big hole.
    But, if you stick code like this (see below)as the last entry within the <object></object> tags, you should be able to put in an image.
    the code -
    ..................................................
    <NOEMBED>
    <img src="mazda2.gif" width=600 height=440 border=0></NOEMBED>
    .................................................. .....
    like this -
    (this is the code produced when you choose the 'copy HTML to clipboard' export option) THE INSERTED CODE IS BOLD AT THE BOTTOM

    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
    id=Movie1 width=600 height=440>
    <PARAM name=movie value="Mazda2.swf">
    <PARAM name=quality value=high>
    <PARAM name=bgcolor value="#000000">
    <EMBED name="Mazda2" src="Mazda2.swf"
    quality=high bgcolor="#000000"
    width=600 height=440
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    <NOEMBED>
    <img src="mazda2.gif" width=600 height=440 border=0></NOEMBED>


    </OBJECT>
    hope that helps,
    david p.

    Great idea David! I had never thought about what I could put there in that event! Creating gif as I speak.. er.. type.

  4. #4
    UNified
    Join Date
    Mar 2001
    Location
    Montville QLD
    Posts
    6,161
    Hey Vacman, small hint, just post a reply, not a reply with quotes. Scroll forever to read your one line answers.
    jofta

  5. #5
    FK's Fnortner
    Join Date
    May 2001
    Location
    Tampa Florida USA
    Posts
    1,276
    Excellent! That's exactly what I was looking to do!
    Thanks David

  6. #6
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,834
    Ddunn, you might want to include an alt=your description of graphic for those with graphics turned off.

  7. #7
    FK's Fnortner
    Join Date
    May 2001
    Location
    Tampa Florida USA
    Posts
    1,276
    Thanks Doug! Could you give me an example of what you might say? (graphic goes here ?) I understand the 'alt=' and know how to enter the html .. I've never turned off my graphics, so I don't know what I'd see in their places. I'm looking at IE now to see where to turn them off.
    Many thanks ... I appreciate it.
    [Edited by ddunn26 on 06-18-2001 at 02:57 PM]

  8. #8
    Senior Member
    Join Date
    Feb 2001
    Posts
    1,834
    Say your site is about new cars and your graphic is a new mercedes.

    alt=mercedes sl 450

    This will tell the user what the picture is. Also for reading impaired the text reader will pronounce it so they know what it is.

    So what is being suggested is first your Swish movie for those with Flash Player working. Graphic for those without Flash Player working and text explanation for those with sight impairment or graphics off.

    Almost forgot, another little side benefit. When you place your cursor over the graphic you get the "mercedes sl 450" just like a tool tip.
    [Edited by Doug20 on 06-18-2001 at 03:04 PM]

  9. #9
    FK's Fnortner
    Join Date
    May 2001
    Location
    Tampa Florida USA
    Posts
    1,276
    Ahh ... ok ... simple enuff ... just a desc of the graphic. Thanks

    David ... one of the swf's is my menu. My old 'non-swf' menu contained simple roll-overs. Do you think it is possible to somehow revert to my old menu ... instead of a static graphic? Somehow I need to have a way for a visitor to get around in the site ... without having to create a whole new site for non-flash users.
    Thanks again!

  10. #10
    Senior Member
    Join Date
    May 2001
    Posts
    193
    just put the entire menu code in the <noembed> tags.

  11. #11
    Junior Member
    Join Date
    Apr 2001
    Posts
    7
    Is it possible to put meta tags like <meta HTTP-EQUIV="refresh" content="1; URL=document.html">?

  12. #12
    Senior Member
    Join Date
    May 2001
    Posts
    193
    Originally posted by Mesmer
    Is it possible to put meta tags like <meta HTTP-EQUIV="refresh" content="1; URL=document.html">?
    not in the <noembed> tag, you'd have to use

    <script>
    window.location = document.html;
    </script>

    instead, although there's a high chance that if flash isn't supported, javascript may not be, so that may not work.

  13. #13
    Senior Member
    Join Date
    Jul 2000
    Posts
    350
    The best detection of flash being present in a browser is by flash itself ... sounds impossible, but check my posting out some time ago:

    Perfect Flash Detection:
    http://board.flashkit.com/board/show...threadid=17728

    regards,
    Richard Shea

  14. #14
    Junior Member
    Join Date
    Feb 2001
    Posts
    15
    Really useful discussion - learned a lot. Thanks.

    Following on from the last post or so. Am I correct in thinking the <noembed> graphic could have hyperlink so it acts as a substitute navigation if the flash isn't available? If so, exactly where, and how, within the <noembed> code would it go?

    Woops! Read too quickly and missed BewareIIs comment, which answers my question.

    Again,

    Thanks for help.

    John
    [Edited by John Mahoney on 06-20-2001 at 03:00 AM]

  15. #15
    Senior Member
    Join Date
    Oct 2000
    Posts
    268
    I challenge anyone to find a more proficient, and all-encompassing, script than this to display an image file if the user does not have the Flash plug-in. This code was developed by Macromedia and it functions properly on IE, NS, Opera, and the dreaded Mac.

    *Change the bolded content to reflect your attributes.

    ---------------------------------------------

    <SCRIPT LANGUAGE=JavaScript>
    <!--
    var plugin = 0;
    if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"] && navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {
    if (navigator.plugins && navigator.plugins["Shockwave Flash"])
    plugin = 1;
    }
    else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0
    && (navigator.userAgent.indexOf("Windows 95")>=0 || navigator.userAgent.indexOf("Windows 98")>=0 || navigator.userAgent.indexOf("Windows NT")>=0)) {
    document.write('<SCRIPT LANGUAGE=VBScript\> \n');
    document.write('on error resume next \n');
    document.write('plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFla sh.3")))\n');
    document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFla sh.4")))\n');
    document.write('if ( plugin <= 0 ) then plugin = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFla sh.5")))\n');
    document.write('</SCRIPT\> \n');
    }
    if ( plugin ) {
    document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
    document.write(' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=3,0,0,0" ');
    document.write(' ID=Movie1 WIDTH=585 HEIGHT=162>');
    document.write(' <PARAM NAME=movie VALUE="Movie1.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> ');
    document.write(' <EMBED src="Movie1.swf" loop=false quality=high bgcolor=#FFFFFF ');
    document.write(' swLiveConnect=FALSE WIDTH=585 HEIGHT=162');
    document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">');
    document.write(' </EMBED>');
    document.write(' </OBJECT>');
    } else if (!(navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0)){
    document.write('<IMG SRC="Movie1.gif" WIDTH=585 HEIGHT=162 BORDER=0>');
    }
    //-->
    </SCRIPT><NOSCRIPT><IMG SRC="Movie1.gif" WIDTH=585 HEIGHT=162 BORDER=0></NOSCRIPT>

    ---------------------------------------------

    If you need to test it, use this link that provides instructions on how to easily remove the flash plug-ins for each browser:

    http://www.macromedia.com/support/fl...ove_player.htm

    regards,

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center