Bandwidth throttling with Java-script
-
Hi All I need to emulate bandwidth throttling scenario on my web application, I have two buttons, when user click on first button then play a video from my server, this should be poor user experience (through bandwidth throttling on this session between my laptop and my web server) On the other hand when user clicks a second button, and then play same video(HTML5 video), then better quality of experience should be observed, Is there a way I can achieve this using java-script?
-
Hi All I need to emulate bandwidth throttling scenario on my web application, I have two buttons, when user click on first button then play a video from my server, this should be poor user experience (through bandwidth throttling on this session between my laptop and my web server) On the other hand when user clicks a second button, and then play same video(HTML5 video), then better quality of experience should be observed, Is there a way I can achieve this using java-script?
readystatechange event ist useable for AUDIO, see http://msdn.microsoft.com/en-us/library/hh772923(v=vs.85).aspx javascript runs only on client, sou you must use interface to catch state of an element its events like readystatechange-event