BY:Martin Holecko...BASTaRT PIX
DATE:1996-12-09
As the javascript is a regular part of Netscape (and perhaps also Explorer from that wosaname company) and therefore platform independence is achieved easily.
Here's an example of the player in action...
(Don't hesitate and try to press
some of the little thingies below the picture. BUT wait
a little if there is still some downloading activity).
Some time after the preloading begins, an image saying "please wait, loading movie" is displayed to inform the unpatient user. The image is supposed to be placed in the same directory as the page and is scaled automaticaly. The message is replaced by the first frame when the whole sequence is downloaded.
Now you can play the movie (once, loop it or swing it), change its speed, play it reverse, play it frame by frame or jump to the frame you want by typing the number to the input field that shows the current frame number (see the known bug below). Works well both with GIFs and JPEGs. The user interface is kinda shitty, I know, but that was not the point of the whole thing. A pretty one, with nice controls and everything, should follow soon. But then I can call it version 1.5, right? :)
The whole script is on the beginning of the page so just grab it if you like it. I commented it quite a lot so it should be easy to alter. Do anything you want with it and drop me a note if you feel like it.
Enjoy! Martin.
URL: http://www.oocities.org/SiliconValley/7116/jv_movie.html