repo: janusweb action: commit revision: path_from: revision_from: b574c4d7ea0f7dbcffd978749b163d1ab24cff1e: path_to: revision_to:
commit b574c4d7ea0f7dbcffd978749b163d1ab24cff1e Author: James BaicoianuDate: Fri Jun 12 15:32:28 2020 -0700 Don't try to stop video if it doesn't exist diff --git a/scripts/object.js b/scripts/object.js
--- a/scripts/object.js
+++ b/scripts/object.js
@@ -1004,7 +1004,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
var texture = elation.engine.assets.find('image', this.image_id);
//console.log('stop the image!', texture);
}
- if (this.video_id) {
+ if (this.video_id && this.video) {
//var texture = elation.engine.assets.find('video', this.video_id);
//texture.image.pause();
//console.log('stop the video!', texture);
-----END OF PAGE-----