Including Graphical and Multimedia Files in Your Applications

Using the WEB-BROWSER control, you can include many types of files in your COBOL applications, including those with compressed graphical formats, compressed sound formats, movie-file formats, animated GIF formats, PDF formats, and more.

To include a graphical or multimedia file in your program, you include the filename in the VALUE clause of the DISPLAY WEB-BROWSER statement. For example:

display web-browser, value "movie1.avi".

This example would launch the user's default movie viewer and play the movie on the user's screen.