You are a report author at The Sample Outdoors
Company, which sells sporting equipment. You want to insert a Microsoft Windows Media Audio/Video file named GO.wmv
in a template that serves as a cover page for all reports.
You
must have Windows Media
Player installed on your computer.
Procedure
- Open IBM® Cognos® Report Studio with the GO
Data Warehouse (query) package.
- In the Welcome dialog box, click Create
a new report or template and in the New dialog
box, click Blank.
- From the Toolbox tab , drag the HTML Item object to the report.
- Select the HTML Item.
- In the Properties pane, double-click
the HTML property.
- In the HTML dialog box, type the
following:
<OBJECT classid="CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6">
<PARAM NAME="URL" VALUE="/c10/webcontent/samples/images/GO.wmv"/> </OBJECT>
Results
When you run the report in HTML format, the multimedia file
plays in Windows Media Player.