To emphasize: You should not use the UMP at all. It will not work in HTML 5 projects very well because it relies on ActiveX controls in IE and other plugins depending on the audio type you wish to use. Instead, always use PowerPac's media player functions/actions to support audio. They work in all browsers and generally on all devices.
To play your mp3 audio files, you would use the PowerPac function
pgSoundLoader(). It has full support for time markers with notifications, including end of audio notification, etc. The related PowerPac function called
pgSoundControl() allows you manipulate an audio file that was loaded using
pgSoundLoader(). These two functions enable you to pretty much do anything you can imagine with audio (mp3 not wav) files.
In the example below, click on
"Load Audio" to simulate what would ordinarily happen with the
on load page event. When the audio plays, it triggers a
user event at 1500 and 3200 milliseconds. It also sends an end of audio notification. You can see the event [
value] parameter that is shown in the red field of the example as the audio plays.
HOW TO DO THIS:- Follow the instructions on the page shown above.
- Set up the "AudioPlayer" field with these parameters:
NOTE: I put this action on the trigger event of the "AudioPlayer" field, but ordinarily it would be placed on load page. Also, if you don't want playback controls, then hide the field and leave showControls empty or unset. If you do not want the audio to play right away, then set action = "pause" as the default is "play"

- Example:
pgSoundLoader() parameters
- pbox.png (46.93 KiB) Viewed 5542 times
- Set up the on user event of the "AudoPlayer" field with these actions:
NOTE: The [value] parameter of this event contains the string "audio,[position]" where [position] can be a time marker integer (e.g.: 1500, or 3200 in this case because these are timeMarkers we defined above) or the string "end" when the audio reaches the end of the audio file. The pgTBObjSet() actions merely set the text or htmlText of the red "Events" field and control the reset of the object when the audio reaches the end.

- User Event Actions
Example only!!
- User Event.png (34.37 KiB) Viewed 5542 times
- I usually put all my mp3 audio files in folder called [audio] and flag that folder to be included in the ToolBook exported content. The DHTML Export Tree Manager utility is provided for this purpose. The image below shows what the export tree looks like after adding the [audio] folder.

- DHTML Export Tree Manager
Flag the [audio] folder to be included in the export.
- DHTML Export Tree Manager.png (97.21 KiB) Viewed 5542 times
This should get you going with audio. Read carefully the popup help, etc. for other options and capabilities.
Additional Help for PowerPac Functions and Parameters:The hot key
Ctrl+Shift+P opens the
Parameter Help Index shown below. It can be accessed from the PowerPac menu as well.

- Parameter Help Index
- paramHelp.png (57.68 KiB) Viewed 5537 times