1350 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected more than 1000 items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
graphic4444 says

Hi -

I still like using flash even if it’s not alive on mobile devices… quick question, is it possible to code my html page so that it will show a placeholder image (like a jpg) in place of a flash header/.swf if it autodetects that flash is not enabled? Kind of like a background image that shows a still image screencap, if flash is disabled on the users’ browser (eg for ipads?)

thx,

k

8378 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says

sure, you can use JS to detect whether flash is installed and then render the HTML if it’s not there… that’s how most sites work, surprised you’re asking tbh… thought you had loads of sites etc

1350 posts
  • Has been part of the Envato Community for over 6 years
  • Has collected more than 1000 items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
graphic4444 says

hi, thanks – yes i do, just don’t know what substitute code to use, to load for example header.jpg in place of header.swf if flash not detected

1633 posts fueledweb.com
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+7 more
RimmonTrieu says

SWFObject should be your easiest solution, check the tutorial of providing alternative content for SWF file

https://code.google.com/p/swfobject/
8378 posts Community Moderator
  • Has referred 10+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Attended one of our Meetups around the world
+9 more
MSFX Moderator says

SWFObject should be your easiest solution, check the tutorial of providing alternative content for SWF file https://code.google.com/p/swfobject/
+1

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by