Progress bar in asp while file is downloading

Discussion in 'ASP General' started by shil, Mar 28, 2006.

  1. shil

    shil Guest

    Users can view mpeg movies from my website. When users who don't have
    DSL, it takes longer time to launch windows media player and play the
    movie. There is no indication to the users that file download is going
    on. To them it appears hung.

    Is there any way to show progress bar on the page while file is
    downloading in the background?

    My code is:

    <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="479"
    border="0" height="74">
    <TD align="center" class="HeaderText">Nalco Communications Video
    <TD width="769" align="center">
    <p class="ItemText"><a href="\videos\video1.mpg">Video1</a></p>

    Thank you.
    shil, Mar 28, 2006
    1. Advertisements

  2. shil

    Slim Guest

    Yes you can, windows media player gives you events telling you what it is
    doing such as loading playing buffering, but this is on the client side not
    the server side.

    I made a quick example, look at source code, look up the windows media
    object at MSDN, it has many events and properties to play with
    Slim, Mar 29, 2006
    1. Advertisements

  3. shil

    shil Guest


    Can I have the source code from your example?

    Appreciate your help.
    shil, Mar 29, 2006
  4. shil

    Slim Guest

    yes, just go to the view menu

    select source
    Slim, Mar 30, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.