repo: janusweb action: commit revision: path_from: revision_from: 6731cd207ebe4ef606ae4c6048e94c8712c8e0ba: path_to: revision_to:
commit 6731cd207ebe4ef606ae4c6048e94c8712c8e0ba Author: James BaicoianuDate: Thu Feb 1 00:50:52 2018 -0800 Removed duplicate object.stop() function diff --git a/scripts/object.js b/scripts/object.js
--- 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-----