How to replace flash on page for iPad and iPhone.

Double A (Apple and Adobe) struggle in sandbox for not showing flash content for iOS users seems to be a never ending story. But now we should deal with an aspect, that flash is not shown on iOS powered devices.

I have a solution to make iUsers feel more comfortable on the page with flash content.
I replace flash with a picture, or simply html text.
This works perfectly for logos and banners.

print '
'; if (!preg_match('/ip(hone|od|ad)/i',$_SERVER['HTTP_USER_AGENT'])){ //here is your javascript for populating flash print ''; }

So, in case iOS user is coming to the site he/she will see a static image.

Leave a Reply

%d bloggers like this: