Website Deliverables - Previous Next Index Print
Embedding Media Files

Embedding Media Files

Last Modified: June 22, 2006

ePublisher Pro

The purpose of this article is to explain how to embed media files into a WebWorks Help 5.0, Dynamic HTML, Microsoft HTML Help 1.x, and Simple HTML Help systems.

In the following article, we will show you how to embed the proper code into the source document and how to set up your ePublisher Pro project to then use that markup successfully when generating output.

Embedding Conditional Markup in the Source File

In the following steps, we will be inserting code into the source document using conditional text. This code can be processed by ePublisher Pro to be emitted in the HTML of the resulting output, producing an embedded media file.

For Adobe FrameMaker:

<embed src="sample.swf" width="400" height="300" pluginspage="";>



Click the Edit Condition Tag...button


Set your Condition Indicators (these are just visible formatting rules that enable you to see the conditional text in the Framemaker document).


Click the Set button to close the Edit Condition Tag dialog.


Click Apply.

For Microsoft Word:

<embed src="sample.avi" width="400" height="300" pluginspage=";>


Note: In order to embed a video file into Microsoft HTML Help 1.x system please use the code below:

<img start="MOUSEOVER" loop="1" DYNSRC="sample.avi">


Select Webworks > Conditions.


Click the Add Condition button to open the Create New Condition dialog and click OK.

Note: In this example we are going to name our tag “Media”.


Click the Apply Condition button and then click OK to close the dialog.

Setting up your ePublisher Pro Project

After you have placed the code and conditions in your source document you must set up your ePublisher Pro project to process the code properly.


Select View > User Files.


Select Project > Scan All Documents to scan in your new conditions.


Select Format > Conditions.


Click OK.


Select Project > Generate All.