After the successful installation of OpenDoc Multimedia for OS/2 Warp, a Multimedia folder will be located on your Desktop (or updated if you had previously installed the Multimedia code shipped as part of OS/2 Warp.). The contents of this folder are shown in Figure 132. These may vary on your system depending on the options selected during installation.
Figure 132. Multimedia FolderIf you had a previous version of Multimedia code installed, you may find that some players are missing from this folder. The reason is that they have now been integrated as part of the pop-up menus of the Multimedia files as a result of the document-centric approach that is part of OpenDoc.
After the installation of OpenDoc Multimedia for OS/2, not only will the contents of the Multimedia folder change, but also the applications associated with the icons. For example, the screen shown in Figure 133 shows the new look of the Compact Disc player.
Figure 133. Compact Disc PlayerEach new OpenDoc Multimedia component has powerful functionality built into its context pop-up menu that can be accessed by clicking on the icons with the second mouse button.
___ Note _______________________________________________________________ | | | The OpenDoc Multimedia components do not support the embedding of | | other components and can only be imbedded onto the Page Layout and | | Container Parts. | | | |________________________________________________________________________|
The Audio, Video, and MIDI OpenDoc objects have a default Play action (in their pop-up menus). This is a quick play option that does not load a specific player or editor, but, based on the file type in the multimedia component kind, plays the file automatically (this default option can also be accessed double-clicking on the object icon).
The Player option on the pop-up menu is used to start a generic player. The generic player provides a user interface to starting, stopping, pausing, and rewinding a Multimedia file.
The Image and Audio files have a Convert to option on the pop-up menu to allow the conversion of these files to another format (for example, BMP to JPG and WAV to AU).
The Multimedia folder shown in Figure 132 also includes an icon for the Multimedia templates. Double-click on this icon to open the folder contents and you will get the screen shown in Figure 134.
Figure 134. Multimedia Templates FolderYou can drag any of these icons to your Desktop to create new objects or combine them with other OpenDoc templates to create compound documents like the one shown in Figure 135.
All these templates will allow you to include several types of multimedia files in your OpenDoc documents.
Figure 135. Multimedia DocumentThis sample is made of the following four different OpenDoc templates:
° Page Layout
° Text Part
° Image Part
° Video Part
To create this document, use the following steps:
1. Drag and drop the Page Layout Part icon from the OpenDoc Templates folder to the Desktop. This one will be the Root Part of our compound document.
2. Double-click on the newly created icon to open a document window that has the Page Layout Part as its Root Part.
3. Drag and drop the Text Part from the OpenDoc Templates folder to the document window.
4. Type some text on the Text Part.
5. Open the Multimedia folder.
6. Open the Multimedia Templates folder.
7. Drag and drop a sample image from the Images folder that is in the OpenDoc Multimedia folder onto the document area.
8. Drag and drop a sample video file onto the document area. The video player can be started by double-clicking on the video image.
After all this operations, the results should be similar to the document shown on Figure 135.
Subtopics: