Sign in to follow this  

Replacing Image with Flash when not supported

Recommended Posts

NeoxCore    0

I currently have a website at

On the home page there is Flash animation.

The Flash animation works great until the site is loaded on

a mobile device. The mobile device ask the user to install

Flash plugin, which isn't possible on many mobile devices.


-How do I replace the flash animation with a still image

 when flash is not supported. 


I have tried using the following resources without much luck.


-Using the code from the above links, the still image is not placed exactly where the flash animation is on mobile devices and overlaps or goes behind the flash animation on Internet Explorer.

Also the Flash download icon remains visible on mobile devices.


Any help would be appreciated.


Share this post

Link to post
Share on other sites
Seahorsepip    532

You can use javascript to identify the browser or use php.

You can also identify using javascript if the browser support flash:


And I recommend getting rid of the flash animation ;)

Instead write a css version with javascript and css3 :P

  • Like 1

Share this post

Link to post
Share on other sites
ashpowell    81

I agree with Seahorsepip, get rid of flash.. What you use flash for can be very easily achieved with js & css

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.