![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
|
![]() 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?
__________________
Contact me: \\// E: webmaster /at/ unprofessional.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Mar 2002
Location: Tampa, FL
Posts: 4,938
|
I haven't used it, but this might be what you are looking for: http://detectmobilebrowsers.mobi/
__________________
Sharky |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: May 2003
Posts: 3,765
|
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).
__________________
flexx [dot] aeon [at] gmail |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
|
Quote:
![]()
__________________
Contact me: \\// E: webmaster /at/ unprofessional.com |
|
![]() |
![]() ![]() ![]() ![]() ![]() |