AyPad Flash Question
- Started
- Last post
- 4 Responses
- BattleAxe
Hola Amigos ,
So my Flash is a bit rusty
I am just wondering what the most effective method of delivering alternate content(.gif, png, jpg) after recognizing that Flash is not supported or installed
I want Flash for desktop devices , but provide alternate set of ads for mobile
should I just sniff the device and switch ad set file with php?
javascript, php?
- utopian0
Use .htaccess
Example here:
RewriteEngine On
RewriteBase /RewriteCond %{HTTP_USER_AGENT} ^.*ipad.*$ [NC]
RewriteRule ^$ http://www.zavesmith.com/ipad [R,L]
RewriteCond %{HTTP_USER_AGENT} android|avantgo|blackberry|blaze... |maemo|midp|mmp|mobile|o2|opera\ mini|palm(\ os)?|plucker|pocket|pre\/|psp|sm... ce;\ (iemobile|ppc)|xiino [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^(1207|6310|6590|3gso|4thp|50[1... wa|abac|ac(er|oo|s\-)|ai(ko|rn... |s\ )|avan|be(ck|ll|nq)|bi(lb|rd)|bl... u|g560|gene|gf\-5|g\-mo|go(\.w|o... i|ip)|hs\-c|ht(c(\-|\ |_|a|g|p|s|t)|tp)|hu(aw|tc)|i... |\-|\/)|ibro|idea|ig01|ikom|im1k... |\/)|klon|kpt\ |kwc\-|kyo(c|k)|le(no|xi)|lg(\ g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w... |o|v)|zz)|mt(50|p1|v\ )|mwbp|mywa|n10[0-2]|n20[2-3]|n3... )|sy(01|mb)|t2(18|50)|t6(00|10|1... )|webc|whit|wi(g\ |nc|nw)|wmlb|wonu|x700|xda(\-|2... [NC]
RewriteRule ^$ http://www.zavesmith.com/mobile [R,L]
- cannonball19780
^ what the hell language is that in
- dbloc0
div background image
- spot130
Just use swfobject and the detect user agent properties: http://code.google.com/p/swfobje…