summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/rectangles/engine
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-08-13 13:25:44 -0400
committerJules Laplace <jules@okfoc.us>2014-08-13 13:25:44 -0400
commit14228e82f4836b1bffa3389aa9e8d12959aa3810 (patch)
treea3e04c419eadaec4d26d5a1b7f69529e78b83298 /public/assets/javascripts/rectangles/engine
parent0d971464a2af8ec795664fb3e6f50b888dcccf53 (diff)
embed privacy check
Diffstat (limited to 'public/assets/javascripts/rectangles/engine')
-rw-r--r--public/assets/javascripts/rectangles/engine/scenery/types/video.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/javascripts/rectangles/engine/scenery/types/video.js b/public/assets/javascripts/rectangles/engine/scenery/types/video.js
index 79cfb1c..a8df875 100644
--- a/public/assets/javascripts/rectangles/engine/scenery/types/video.js
+++ b/public/assets/javascripts/rectangles/engine/scenery/types/video.js
@@ -34,7 +34,8 @@ Scenery.types.video = Scenery.types.base.extend(function(base){
y: this.scale * this.media.height/2,
backface: false,
})
- scene.add( this.mx )
+ scene.add(this.mx)
+ this.mx.load()
},
play: function(){