Browser Feature Detection. Is Silverlight supported?

I am a strong advocate of feature detection, versus device discovery. I would like to know if the browser (mobile or other) supports Silverlight.

I had good Google and found this Silverlight supported user agent , but looking at the last comment, it doesn't seem to be up today.

There is also this SO question. Is there a way to check if the browser supports flash / silverlight? But this does not seem to answer the question. Detection, if Silverlight is installed, is different from detecting Silverlight support.

Does anyone have any experience with this and is it possible?

+4
source share
1 answer

Detection, if Silverlight is installed, is different from detecting Silverlight support.

This is really different. Opera is not supported, but Silverlight works fine :)

Use Silverlight.isInstalled in Silverlight.js to check if Silverlight is installed (see http://developer.yahoo.com/dotnet/silverlight/embedding.html ). Is there any reason that is not enough for you?

If you have to create a database in which browsers are compatible with Silverlight, I suggest using crossbrowsertesting.com

+1
source

Source: https://habr.com/ru/post/1483629/


All Articles