>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  MAKE_JSMOVIE






      Generate web pages to display a Javascript movie from images.


Calling Sequence

      make_jsmovie, img_url


      img_url = URL of image directory. in
          This may be relative to the location of the movie page.
          The generated web pages must be placed in the correct
          directory to access these images.

Keyword Parameters


        TITLE=ttl Main page title (def='Javascript Movie Player').
        DELAY=ms Delay at end of loop in ms (def=1000).
        OUT=out Name of output page (def='jsmovie').
        SPEED=spd Initial # of frames/second to display (def=10).
            Valid range is 0.01 to 100 (will use a close value).
        /FILE Set for display from a file, else from a web
            server. Sets the internal JS variable named skip.
            Will not display all frames if displaying as a file when
            generated for web display. In the page *_main.html can
            manually edit the variable skip to 1 for file, 5 for web.


Common Blocks


      Notes: Will generate 4 files:
        jsmovie.html, jsmovie_main.html, jsmovie_blank.html,
          and jsmovie_loading.png.
        These must be kept together, link to the first one.
        These names may be changed using the OUT keyword.
        The images may be accessed from the web page. One way
        is to right click on the image (in some browsers).
        Another way is to drag the frame divider line at the very
        bottom of the web page upward to view a directory listing
        of all the images. Drag it back to the bottom to get
        back to the movie frame.
        Example call:
        make_jsmovie,'img',title='East Coast 2 m Temperature',del=1500,out='temp2m'

Modification History

      R.Sterner, 2008 Mar 20
      R.Sterner, 2009 Jul 13 --- Added /FILE keyword.
      R.Sterner, 2009 Jul 13 --- Added SPEED keyword.
  Copyright (C) 2008, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.

© 2020 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us