Inserting local media files

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
Tobias Escher
Posts: 202
Joined: Mon Dec 28, 2015 7:32 pm

Inserting local media files

Unread post by Tobias Escher »

Hi!

For a personal project (essentially a database of audio files), I need to insert local mp3 files into topics.
These need to be available in WebHelp to play back, ideally inside the active topic.
Is that possible?

best

Tobias
User avatar
Martin Wynne
Posts: 2656
Joined: Mon May 12, 2003 3:21 pm
Location: West of the Severn, UK

Re: Inserting local media files

Unread post by Martin Wynne »

Hi Tobias,

1. rename the mp3 file name to remove any spaces if necessary.

2. put a copy of the mp3 file in the Project > Baggage folder.

3. insert an HTML code object in the topic where you want the play button and volume controls (Write > Insert Object > Insert HTML code object).

4. in the HTML code object enter:

Code: Select all

<audio controls> <source src="my_audio_file.mp3" type="audio/mpeg"> </audio>
(change the file name, of course)

5. That's it. :)

To make it easy, if you have several files, you can copy and paste the entire HTML code object into each subsequent topic. Then you need only edit the file name in each one.

Martin.
User avatar
Tim Green
Site Admin
Posts: 23154
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Inserting local media files

Unread post by Tim Green »

In addition to Martin's suggestion, if you have HelpXplain you can insert the audio files in an Xplain and then embed that in a Help+Manual page. This will enable you to put them in a user interface that you can design with additional elements and multiple pages, if you wish. 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply