![]() |
How to detect which version iphone/ipod/ipad is viewing a page?
I know there are plenty of canned scripts that detect whether or not the surfer hitting your page is using a mobile phone / browser. What about detecting for example if they are on an iphone 4, or 3gs, or just 3g?
The reason is in testing I noticed that when using h.264: iphone 3 only supports "baseline" profile which looks like crap on browsers iphone 3gs/4/ & Ipad support "main" profile h.264 which is pretty nice on PC browsers only pc's will support "advanced" h.264 profiles with high complexity and look great in pc browsers. So I want to have my html5 player load the correct h.264 version of the video depending on the end users device (mobile surfers often goto full versions of sites instead of mobile when given a choice) Any one have a script that can do this? |
I haven't used it, but this might be what you are looking for: http://detectmobilebrowsers.mobi/
|
not sure if its there's a sure fire way. i was doing some research for something related to that and remember reading that only way to detect was through an installed app. but i could be wrong.
you can get the OS and the webkit version numbers out of the user agent string. perhaps different iPhones use different web kits (again, i haven't looked it up). |
Quote:
|
All times are GMT -7. The time now is 02:11 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123