Q3. How do I embed video and sound. There are no buttons in
the editor to facilitate this?
A3. Before reading on, click
here and, read (and/or print out) this information about how
PBLi scenario files are organised when being constructed. *UNDERSTANDING
THIS IS VERY IMPORTANT*
Assuming you have read and understood the information under the
link above, now let's turn to embedding the files in the scenario.
The sequence is divided into two parts. Firstly adding the video
or audio to the scenario file itself, then linking to it..
Part 1 - Adding Video or Audio to the *.scenario file
1. Ensure you are in the PBLi Builder with your scenario open.
(this is essential otherwise the temporary subdirectories won't
2. Manually (i.e. using the Windows Explorer file manager NOT PBLi)
find the following directory on the hard drive...C:\Documents
and Settings\(your user name)\Local Settings\Application Data\PBLiBuilder\ScenarioData\HTML
. This assumes the C: drive is the drive containing the Windows
XP \Documents and Settings\ folder.
(Your user name) will normally be the name you have logged in with.
In that directory you should see a few html files with names like
actncontentxx.html where the xx is
3. Copy your video and audio files into this directory.
4. Save your scenario (this will package the video or audio into
your scenario file)
Part 2 - Linking video or audio to the appropriate content
5. Now in PBLi with the scenario open go to the content window
where you want to add the audio or video file.
6. Click on the launch external editor button on the toolbar.
Itís the one on the far right. This will open up your content window
in an external HTML editor (this editor is set by going to Settings
--> Preferences in the Builder menu. I tend to use notepad for
mine. Some people use Dreamweaver or the like)
7. In the HTML code, insert the following code where you want
your video to appear.. <EMBED src=myvideo.wmv autostart="false">
(but replacing myvideo.mmv with your OWN audio or video file name).
8. Save the file in the external editor, then close the external
HTML editor. You should now see an audio or video control in the
content window of PBLi
9. Save the Scenario
10. Play the scenario to make sure the audio or video works. If
(a) check that the video or audio files have been put in the right
place in step one.
(b) Check that the name of the file corresponds with the name given
in the HTML tag.
(c) check that the windows media player is present and there are
no unusual permissions set.