I have a website running flash that works great on desktop but its not support on Android browser. How do I set up an auto switchover? When the site detects its a mobile user, display a static web site instead of dynamic flash site?
Asked
Active
Viewed 96 times
1 Answers
0
You could use SWFObject to include Flash in the HTML page (its a small JavaScript library). It includes facility to display alternative (html) content if Flash Player not detected.
So you just add the home page of your static site as the alternative content of the Flash display; and user will see Flash site if they have Flash installed, or static site if they dont.
This way you are doing a more general switchover - can device play Flash? rather than is this a mobile device?