• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Multi-media Files

New Here ,
Apr 06, 2008 Apr 06, 2008

Copy link to clipboard

Copied

RoboHelp HTML X5.0.1, Build 606

I'm trying to include an instructional video clip to a CHM file. I've added an .MPG file and when I view it in design mode it works but after I compile it, it keeps saying it cannot find the file. When I make a copy of the .MPG file to the same place as the CHM file it works. What's going on? I thought when using a CHM file everything is compiled into one file.

Does this mean that when I distribute the CHM file, I would also have to include all the video clips?

Views

398

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 07, 2008 Apr 07, 2008

Copy link to clipboard

Copied

Hi, DD71,

If you're using a Media Player <object> control to embed the video in your help topic then I don't believe this will work when compiled into a .chm file. See this article for more information and workarounds:

http://helpware.net/FAR/far_faq.htm#Applets

Pete

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 07, 2008 Apr 07, 2008

Copy link to clipboard

Copied

This might be as simple as including your .mpg file as a baggage file in your .chm. You say it works when it is external, so it seems like it is OK, except that it isn't getting compiled into your .chm.

John

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 07, 2008 Apr 07, 2008

Copy link to clipboard

Copied

Hi, John,

In my testing, an MPG file doesn't play when added to the baggage and compiled into the help file, but it does play when it is external to and stored in the same directory as the help file. This is in spite of the fact that the link to the MPG file is specified using a relative path. Which is rather odd because, as we know, links to external files must normally be specified using an absolute path.

So, this is OK when the help file is launched from Windows Explorer, but not so good if the help file is opened programmatically. In that case, the application could potentially change the current directory and so break any relative links to external files, as explained here:

http://helpware.net/FAR/far_faq.htm#RelativePaths

Pete

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2008 Apr 08, 2008

Copy link to clipboard

Copied

I've tried it both ways, one as external and also added to the baggage. They both works just not compiled.

Is this a bug in RoboHelp or just the way it was originally designed. If it is a bug, is there a patch or a work around without having the MPG external?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 08, 2008 Apr 08, 2008

Copy link to clipboard

Copied

Hi DickDastardly

Not a bug with RoboHelp. More of a limitation of the HTML Help engine and the way it handles this type of content. It's a Microsoft thing.

Cheers... Rick

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 08, 2008 Apr 08, 2008

Copy link to clipboard

Copied

LATEST
For what it is worth,

I have an old CHM (that still works) in which I embedded MPG as an image. e.g. <IMG WIDTH="240" HEIGHT="240" DYNSRC="filename.mpe" START="fileopen"> I think this was deprecated in favor of OBJECT tags some time ago, but it seems to still work. These clips were all in their own topic because they run without controls as soon as the topic is open.

John

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp