title: SCORM 1.2 Javascript functions
body: <p>I am working with Adobe Captivate to create as simple SCORM compliant package. The requirement is that I need to track only the time (total_time) that the user (the learner) is viewing a video. </p>
  
  <p>I have striped the media playback on the page and inserted two buttons. One to start playing the video and another to pause it. I am now looking for a javascript function that I can call in order to start the time, (on the page load and the click of the PLAY button and stop it on the PAUSE.</p>
  
  <p>Does such a command exist and is this the best way to do this?</p>
  
  <p>Thanks</p>