How to embed JavaScript to Camtasia 9

  • 1
  • Question
  • Updated 2 years ago
Hi,

We would like to embed JavaScript to Camtasia 9.
Are there any good solutions?
Photo of s.ohno

s.ohno

  • 1 Post
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Dubie

Dubie

  • 961 Posts
  • 741 Reply Likes
You would have to code it in after production.

Render your project/video with the "Smart Player" and then add you script to the HTML file that is in the production folder created.

For example this code added right before the </body> closing tag will add a self updating copyright at the bottom of the page. You of course you would have to style it  ie; center it, text color, etc. with CSS.

<script type="text/javascript">
  document.write(new Date().getFullYear());
</script> All Rights Reserved

You could also just render your video as a .mp4 without the smart player and embed it into your own HTML5 page  with the <video> </video> tags or in a iframe. Your page should be "Responsive" for mobile use.

Here is a example html5 page using the <video> tags with the copyright script and a magic popup button script.

http://www.demotestsite.info/dubiesdemos/5/magic/

 Hope that helps

Dubie:)