repo: janusweb
action: commit
revision: 
path_from: 
revision_from: e7b9299b1baab6f6fe6f47cface7def579902a12:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit e7b9299b1baab6f6fe6f47cface7def579902a12
Author: James Baicoianu 
Date:   Sat Dec 3 12:27:03 2016 -0800

    Added sound.seek() function

diff --git a/scripts/sound.js b/scripts/sound.js
index 76852257dc177330ef6207dc6d102e0e531401d3..
index ..a43e075af6ae01449a19b80947ee9736b510a934 100644
--- a/scripts/sound.js
+++ b/scripts/sound.js
@@ -78,6 +78,10 @@ elation.require(['janusweb.janusbase'], function() {
     this.start = function() {
       this.play();
     }
+    this.seek = function(time) {
+      this.audio.seek(currentTime);
+    
+    }
     this.stop = function() {
       if (this.audio && this.audio.isPlaying) {
         this.audio.stop();

-----END OF PAGE-----