Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. JavaScript
  4. Bandwidth throttling with Java-script

Bandwidth throttling with Java-script

Scheduled Pinned Locked Moved JavaScript
javahtmldesignsysadmintools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 10609627
    wrote on last edited by
    #1

    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?

    T 1 Reply Last reply
    0
    • U User 10609627

      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?

      T Offline
      T Offline
      twseitex
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups