repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 6731cd207ebe4ef606ae4c6048e94c8712c8e0ba:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 6731cd207ebe4ef606ae4c6048e94c8712c8e0ba
Author: James Baicoianu 
Date:   Thu Feb 1 00:50:52 2018 -0800

    Removed duplicate object.stop() function

diff --git a/scripts/object.js b/scripts/object.js
index ce6d6963767247f79165046309c37a9d903257e4..
index ..da8739b7c541ca51bed50a18c8f177787a6a73da 100644
--- a/scripts/object.js
+++ b/scripts/object.js
@@ -584,15 +584,6 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
       var video = this.video;
       return (video.currentTime > 0 && !video.paused && !video.ended);
     }
-    this.stop = function() {
-      if (this.video) {
-        this.pause();
-        // FIXME - this stops the video from loading any more data, but means we can't easily restart
-        //         so we're hackishly working around that
-        this.video.originalSrc = this.video.src;
-        this.video.src = '';
-      }
-    }
     this.seek = function(time) {
       if (this.video) this.video.currentTime = time;
     }

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