Detecting Blackberry Device

Discussion in 'PHP' started by jonathandey, Oct 14, 2010.

  1. #1
    How would I get my PHP script to detect a blackberry device, also what type of video files can I play on a blackberry?

    Thanks
     
    jonathandey, Oct 14, 2010 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    From user-agent you can detect the mobiles. For blackberry, search "blackberry" into user-agent string.

    For video, most mobiles play h.264 format videos.
     
    mastermunj, Oct 14, 2010 IP