Well, it may not be the best solution, but technically my code is not sniffing
the userAgent the way your implying, it's sniffing for a device name in the
userAgent string. Doesn't matter what version of iPhone you have because the
name iPhone will always be in the userAgent string for a web bro
Thank you for this information. What if I need
if support flash{
//code for flash
} else {
//code for video
}
How to solve that?
2014-07-22 17:34 GMT+04:00 James Merrill :
> Do not sniff for user agents! What will your code do when someone uses the
> next iPhone? Or if they have opera installed
Do not sniff for user agents! What will your code do when someone uses the
next iPhone? Or if they have opera installed on their amazon fire? You can
not predict what user agent strings will look like in the future, and are
bound to serve up the wrong content to the wrong people.
This problem has
Thank you very much for the help. As I understand I use correct code. I
don't use different pages for video and flash. I did two blocks on the page.
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0";
width="100%" height="100%" id="jack_giant" align
4 matches
Mail list logo