I want to know if this is possible. Actually i have a flv video. I made 2 quality of it 1 is hogh quality and 2 is much lower. that is to match the client's connection speed. so that it will play a smooth video.

Now i want to know if there is a true mean to determine the user's connections speed ? (I need a javascript or PHP solution for this) is there anyone who may help me ?