Blackberry Playbook and iPhone IOS versions

mobi's Avatar


12 Mar, 2012 07:55 PM

Mobile is working great on our new mobile site and every mobile device we tested on so far is being redirected except the Blackberry Playbook. I noticed the earlier thread that the Playbook should be supported, but i couldn't get it to redirect on a brand new device. Could it have a different user agent?

Also, is there any way to detect iPhone by IOS version? I added audio tags that I only want to show to IOS 4+ since earlier versions don't support inline audio.

Thanks for a great add-on!

  1. Support Staff 1 Posted by Wouter Vervloet on 13 Mar, 2012 07:33 AM

    Wouter Vervloet's Avatar


    I'd need to take another look at the useragent string for the playbook, but just to be on the safe side, could you visit this url on your Playbook so I have the exact UA string that device uses. I get sent a basic report about the device by e-mail, so you don't have to post it here.

    About the iPhone versions... Mobile currently doesn't support version checking, so I'd recommend using something like Modernizr to take care of the browser support. You could also place a link to the file inside the audio tag to have that function as a fallback for devices that don't support the audio tag.

    – Wouter

  2. 2 Posted by mobi on 13 Mar, 2012 02:14 PM

    mobi's Avatar

    Hi Wouter,
    I don't own a Playbook, I just spent a couple of hours testing various devices at a local store. The Playbook was the only one that didn't redirect. I'll see if I can go and visit the url later today or tomorrow, so you can check the useragent string.

    Thanks for the audio tag suggestions, I'll try those.


  3. Support Staff 3 Posted by Wouter Vervloet on 27 Mar, 2012 09:04 PM

    Wouter Vervloet's Avatar

    I see... PlayBook has the following UA string:

    Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.0.0; en-US) AppleWebKit/535.8+ (KHTML, like Gecko) Version/ Safari/535.8+

    I didn't have anything in the library that would match with that... I just pushed a new version (v0.9.1) to the gitHub repository.

    – Wouter

  4. 4 Posted by mobi on 27 Mar, 2012 09:57 PM

    mobi's Avatar

    Great, thanks Wouter! I guess you got the ping...I'll download the latest version.

  5. Support Staff 5 Posted by Wouter Vervloet on 28 Mar, 2012 10:53 PM

    Wouter Vervloet's Avatar

    Hi George,

    Let me know if it works.

    – Wouter

  6. 6 Posted by mobi on 28 Mar, 2012 10:58 PM

    mobi's Avatar

    Yep, I'll try to get my hands on a BB Playbook again and will let you know.

  7. Support Staff 7 Posted by Wouter Vervloet on 28 Mar, 2012 11:04 PM

    Wouter Vervloet's Avatar

    Hi George,

    I just noticed the was a small bug in the version I uploaded, so I fixed it and pushed another version (v0.9.2) to GitHub. If you've already downloaded it, you should grab the newest version again.

    Sorry for the inconvenience.

    – Wouter

  8. 8 Posted by mobi on 29 Apr, 2012 11:43 PM

    mobi's Avatar

    Wouter, I totally skipped your message. Anyway, I checked and Mobile now works with the Playbook as well. Thanks again,

  9. Support Staff 9 Posted by Wouter Vervloet on 30 Apr, 2012 10:53 AM

    Wouter Vervloet's Avatar

    Hi George,

    Glad I was able to help you out and thank you for bringing this up... it makes this add-on just a little better.

    – Wouter

  10. Wouter Vervloet closed this discussion on 30 Apr, 2012 10:53 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

04 Jul, 2022 08:54 PM
23 Jun, 2022 10:47 AM
19 May, 2022 03:35 PM
19 May, 2022 01:42 PM
14 Apr, 2022 03:12 PM


28 Mar, 2022 03:50 PM
24 Nov, 2021 08:53 PM
23 Nov, 2021 12:43 PM
01 Sep, 2021 06:20 PM
21 Jul, 2021 03:50 PM
10 Jun, 2021 03:45 PM