Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    mpg - windows media player

    Hi,

    Tried to find info about preloading mpg's and executing a javascript function when loading has finished. Couldn't find anything about this.

    Does anyone know if this can be done, just like with images?

    Thanks,
    Raoul

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I honestly don't know the answer to this, however I have an idea that might lead you in the right direction, should it work. Have you tried preloading it as an image?

    the whole:
    preVid = new Image();
    preVid.src = "test.mpg";

    if it doesn't work, try:
    preVid.dynsrc = "test.mpg";

    dynsrc is IE only tho.

    Just a thought I had, something you might want to look into to see if it's at all possible.


  •  

    Posting Permissions

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