Help & Manual Capabilities

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

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

Re: Help & Manual Capabilities

Unread post by Martin Wynne »

Hi Lin,

I suggest you put the video in a snippet, which you can then insert in any other topic as required.

If Captivate creates a full HTML package containing the video, upload the package files as a page on your server (as probably explained in the Captivate docs).

Then include that page as an iframe in your snippet. Use the Insert HTML Code Object function in H&M and put something like this in the snippet:

Code: Select all

<p style="font-style:italic;">How to save a document -

 <input type="button" style="font-family:Verdana; font-size:11px; color:#000000; width:80px;" value="show video"
 onclick="javascript:document.getElementById('video_box').style.display='block';
 document.getElementById('video1').src='https://www.youtube.com/embed/afvGStYT9xI?rel=0';" title="click to show the video">

 <input type="button" style="font-family:Verdana; font-size:11px; color:#000000; width:80px;" value="hide video"
 onclick="javascript:document.getElementById('video_box').style.display='none';
 document.getElementById('video1').src='';" title="click to hide the video">

</p>
<div id="video_box" style="width:480px; border:10px solid #FF9900; display:none; background-color:#FF9900;">
<iframe id="video1" width="480" height="360" src="" frameborder="0" allowfullscreen></iframe>
</div>
Replace the

Code: Select all

 https://www.youtube.com/embed/afvGStYT9xI?rel=0
above, with the URL of your page.

Here's a link to show that working: http://85a.uk/dummy/test_video.html

regards,

Martin.
LinBrowne
Posts: 15
Joined: Tue Mar 08, 2016 3:19 pm

Re: Help & Manual Capabilities

Unread post by LinBrowne »

Hi Martin
Thank you very much. That looks good and will work for us. I have sent this to our Developer and he's going to investigate it. I think this option is better than having a link to YouTube or something similar because a great deal of our clients have blocked sites like YouTube because of bandwidth issues so their staff won't be able to view it from there (it was another option I was investigating).
Appreciate the response.
Lin
Post Reply