ek website pe video chalanay ke liye minimum 150 KB/s speed chahiye...
lekin mere pas 70 tak speed aa rahi hai, uss webpage k sath ek javascript file attached hai jiska naam video.js hai. ye file speed detect krti hai.

Please iss me changes kar ke minimum required bandwidth 60 K kr dain. Shayad numbers ko replace karne se kaam chal jayega.
is file ki coding ye hai.


var file;

var IE = false
if (navigator.appName == "Microsoft Internet Explorer") { IE = true; }

function $(id) {
return document.getElementById(id);
}

function firstload(bitRate) {
createCookie("ss_video_bw",bitRate,1);
load(bitRate);
}

function load(bitRate) {

var width = 450;
var height = 621;
var tmpBitrate = bitRate+'';
var aPosition = tmpBitrate.indexOf("500");
var styleWidth = 320;
var styleHeight = 240;

if (bitRate == 500) {
width = 580;
height = 740;
styleWidth = 480;
styleHeight = 360;
$('option2').className = "option2b";
} else {
$('option2').className = "option2a";
}

if (!IE) { height += 40; }

window.resizeTo(width, height);

$('content').style.width = (styleWidth + 80)+"px";
$('player').style.width = (styleWidth)+"px";

$('player').style.height = (styleHeight)+"px";

flowplayer("player", "flowplayer.commercial-3.1.3.swf?ver=10", {
key: '$0eaeb8e18c0cc6f5b8f',
plugins: {
akamai: { url: 'flowplayer.akamai-3.1.3_new5.swf' },
rtmp: { url: 'flowplayer.rtmp-3.1.2.swf?ver=10' },
controls: {
url: 'flowplayer.controls-3.1.3_new.swf',
autoHide: 'always',
hideDelay: 6000,
all: false,
play: true,
volume: true,
mute: true,
scrubber: true,
fullscreen: true
}
},
clip: {
provider: 'rtmp',
autoBuffering: true,
autoPlay: true
},
playlist: [
'/ssflv/'+file+'_'+bitRate+'K.flv'
]
});
var curRate = parseInt(readCookie("ss_video_bw"))
var option1 = '<a href="javascript:void(0);" onclick="load(150);">Low - 150K</a>';
var option2 = '<a href="javascript:void(0);" onclick="load(300);">Medium - 300K</a>';
var option3 = '<a href="javascript:void(0);" onclick="load(500);">High - 500K</a>';
if (bitRate == 150) {
option1 = "Low - 150K<br />(current)";
} else if (bitRate == 500) {
option3 = "High - 500K<br />(current)";
} else {
option2 = "Medium - 300K<br />(current)";
}
if (curRate != bitRate) {
if (curRate == 150) { option1 = '<a href="javascript:void(0);" onclick="load(150);">Low - 150K</a><br />(recommended)'; }
else if (curRate == 300) { option2 = '<a href="javascript:void(0);" onclick="load(300);">Medium - 300K</a><br />(recommended)'; }
else if (curRate == 500) { option3 = '<a href="javascript:void(0);" onclick="load(500);">Medium - 500K</a><br />(recommended)'; }
}
$('option1').innerHTML = option1;
$('option2').innerHTML = option2;
$('option3').innerHTML = option3;
}

function createCookie(name,value,hours) {
if (hours) {
var date = new Date();
date.setTime(date.getTime()+(hours*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}