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
Inserting local media files
Moderators: Alexander Halser, Tim Green
- Martin Wynne
- Posts: 2656
- Joined: Mon May 12, 2003 3:21 pm
- Location: West of the Severn, UK
Re: Inserting local media files
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:
(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.
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>
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.
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Inserting local media files
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.
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.