SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    Sep 2008
    Posts
    341
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Detect connection speed of the user

    I want to detect the user's connection speed to offer an improved website experience. As an example, use 20 records per page pagination, but allow the detection script to change that to higher or lower (as well as other things).

    How is the best way to do this, and can someone point me in the right direction?

    I also want to detect connection speed when displaying HTML 5 video (which I haven't looked at yet). Is it best to use the same script for everything, or use a HTML 5 player with that feature in it?

    Thanks.

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    In order to do that you would have to flood their connection, not advisable. You would be better off using Silverlight for your video as that functionality is built in.

    See: https://en.wikipedia.org/wiki/Adaptive_Bit_Rate
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •