1238 posts
  • Bought between 1000 and 4999 items
  • Forum Superstar
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces 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

8119 posts Community Moderator
  • Attended a Community Meetup
  • Community Moderator
  • Has been a member for 6-7 years
  • United Kingdom
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Contributed a Blog Post
  • Beta Tester
  • Bought between 50 and 99 items
+4 more
MSFX Volunteer 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

1238 posts
  • Bought between 1000 and 4999 items
  • Forum Superstar
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces 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
  • Envato Staff
  • Reviewer
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
+4 more
RimmonTrieu Reviewer says

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

https://code.google.com/p/swfobject/
8119 posts Community Moderator
  • Attended a Community Meetup
  • Community Moderator
  • Has been a member for 6-7 years
  • United Kingdom
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Contributed a Blog Post
  • Beta Tester
  • Bought between 50 and 99 items
+4 more
MSFX Volunteer 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
by
by
by
by
by
by