Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to test if a browser supports flash/silverlight?

I'm making an application with SL/flash charts and am wondering if there is a way to test if the browser it's being pushed to supports silverlight or not (ipad/iphone). And if it doesn't, then I can use some kind of AJAX chart in its place.

If this is possible to interchange platforms by testing against the host, how would I do this?

like image 974
locoboy Avatar asked Dec 21 '25 22:12

locoboy


1 Answers

For flash, you can either use this: http://ppk.home.xs4all.nl/js/flash.html or this: http://www.adobe.com/support/flash/how/shock/javaplugs/javaplugs04.html

Silverlight is discussed here: Detect via javascript whether Silverlight is installed

like image 64
refaelos Avatar answered Dec 23 '25 15:12

refaelos