Window and video scaling

Is there a way to implement window and video scling so when you shrink the window everything scales with it? Or is this a future feature? I know it is in webrtc at the google demo site.

that is html and javascript. the ofmmet and jitmet web applications rescale the video with window size

strange we can not get it to scale when we scale a window down. Meaning taking a chrome window and resizing it, it only goes so far then refuses to resize the video.

I am new in openfire ? my organisation decided to ues openfire as a chat application?, I installed it on windows it works fine,now I am trying to integrate in web application ,how can i integrate it in web application ?,I have not granted any license ?, can I use it ? please give suggestion.

thanks in advance.