;
        var bufferValue  = document.getElementById("buffer_value");

        var updateRangeControls = function(){
            var player = window.StreamedianPlayer;
            if(player){
                bufferRange.value     =  player.bufferDuration;
                bufferValue.innerHTML = bufferRange.value + "sec.";
            }
        };

        bufferRange.addEventListener('input', function(){
            var player = window.StreamedianPlayer;
            bufferValue.innerHTML = this