Results 1 to 4 of 4

Thread: Loading Complete Message

  1. #1
    Join Date
    May 2005

    "Loading Complete" Message

    I have been asked to put a video (size about 4.3MB) on a website, which I have done. It is a .avi file and is using Windows Media Player to play. The problem is that because of the size of the file, if autostart is set to "true", the file starts playing before it is fully downloaded. Then, the video freezes periodically while the audio continues to play. If autostart is set to "false", then the visitor doesn't know when the download is complete. Once the download finishes the file plays with no problem.
    Will someone let me know how to notify the visitor when the download completes so they will know when to start the video?
    Thank you.
    Last edited by PaB; 05-29-2005 at 10:29 AM.

  2. #2
    Join Date
    May 2005
    I think I found the information I need at http://msdn.microsoft.com/workshop/a...nts/onload.asp but I am not able to get it to work. Can someone tell me what I need to change to make it work? I have tried it as an embed and also as an object.
    Thank you for your help.

  3. #3
    Join Date
    May 2005
    Calgary, Alberta, Canada
    Show us what you have so far. There is no such thing as a free lunch.

  4. #4
    Join Date
    May 2005
    I have tried several things. The following is on the page I put a link to:

    function imageLoaded()
    window.status = "Image " + event.srcElement.src + " is loaded";
    <IMG SRC="sample.gif" onload="imageLoaded()">

    Also on that page it states that it will work with an embed, which is what I am using.

    The line on my page is:
    <EMBED SRC="mysite.com/myvideo.avi" onload="imageLoaded()" AUTOSTART="FALSE" LOOP="0" ALIGN="CENTER"></EMBED>
    where I have placed the actual URL and file in the "mysite.com/myvideo.avi" location.

    Thank you for your assistance.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center