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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-08-2011, 01:59 PM   #1
gleem
Confirmed User
 
gleem's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
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?
__________________




Contact me: \\// E: webmaster /at/ unprofessional.com
gleem is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2011, 02:32 PM   #2
Sharky
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
Sharky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2011, 02:54 PM   #3
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
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
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-08-2011, 03:01 PM   #4
gleem
Confirmed User
 
gleem's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Sunny Land
Posts: 5,593
Quote:
Originally Posted by Sharky View Post
I haven't used it, but this might be what you are looking for: http://detectmobilebrowsers.mobi/
Yeah, that only sees if they are on mobile or not, not what version of phone they are using, but thanks
__________________




Contact me: \\// E: webmaster /at/ unprofessional.com
gleem is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.