SampleVideo : Embedding a Video in a WebWorks ePublisher Project : Recommendations for Online Help Projects
Recommendations for Online Help Projects
To display a YouTube video in an HTML-based online help project, we recommend Approach 3: Insert WebWorks Passthrough Code.
For the author, it takes only a minute or two to enter and edit the code.
For the users, the video plays without leaving the online-help browser tab. Optionally, the users can zoom the video to fully screen.
If you do not plan to generate PDF output, we recommend inserting the passthrough code in a Passthrough Style. In Word, the author can find and edit the code even if hidden text is not displayed.
Unfortunately, the passthrough approach does not work with PDF output. If you plan to generate PDFs in addition to the HTML output, we recommend that you insert two copies of the video:
1. For the benefit of the PDF, insert the first copy of the video by Approach 1: Insert a Hyperlink to a Video or Approach 2: Insert > Online Video Command.
2. Format this first copy of the video in a paragraph style that you configure not to generate in ePublisher. For example, you might call the style PDFOnly.
To configure a style not to generate, open the ePublisher Designer project, and click View > Style Designer > Paragraph Styles > (style name) > Options > Generate Output = Disabled.
3. For the benefit of the HTML, insert the second copy in a Passthrough Marker, or in a Passthrough Condition that you configure as hidden text.
4. When you generate the PDF, be sure to hide hidden text. This causes the second copy to be omitted from the PDF.