Get your own customer support community
 

Integrating Flash detection with SoundManager2

I'm not entirely comfortable with the timing of certain events in JavaScript (who is, especially with Chrome!!??), and I wanted to integrate some Flash detection, either using the official model or using featureblend (not that fussed about a sophisticated flash install, simply detecting Flash and shooing those users who haven't installed away).

Anyway, I notice that when Flash is not installed, the soundmanager2.js script fails on initial load due to a missing property which seems to be because Flash is not installed rather than cleanly handling the error. (Only tested in this state on IE8).

What I wanted to do was wrap that initial script so it didn't execute but as it is brought in due to being a global script, I didn't see how to do this.

Rather than reinvent a wheel that is likely to be somewhat square, has anyone got a reliable and robust way of implementing Flash installation checking?
 
indifferent I’m undecided
Inappropriate?
1 person has this question

The company marked this question as answered.


User_default_medium