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?
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.
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.