/    Sign up×
Community /Pin to ProfileBookmark

Detecting Flash and Changing the HTML if no Flash found

Hi,

I need a little bit of help. I work for a company called Best of the Best ([url]www.botb.com[/url]). We use Flash countdown clocks to mark the end of our competitions. The issue we now have is that our clients are using mobile platforms more and more and as bloody Apple wont support flash (not fully anyway) we need the option to detect whether our users have flash and if not then replace the current <OBJECT>Blah Blah Parameters etc</OBJECT> with <DIV CLASS=”NON_FLASH_CONTAINER”>All other bits in middle</DIV>

Is this at all possible?

Thanks in advance
Andy

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@rnd_meMay 09.2011 — since some can't use flash, but everyone can use html, wouldn't it make far more sense to code it once and use the technology everyone supports?

flash is good for games and videos on old browsers, but a countdown clock?

come on, that's just sad...

you might consider finding better devs who are versed in 21st century technology and standards.

a flash-based clock is a red flag indicator of ineptitude in my book.
×

Success!

Help @AJLewis1988 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...