summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/assets/javascripts/mx/primitives/mx.video.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/assets/javascripts/mx/primitives/mx.video.js b/public/assets/javascripts/mx/primitives/mx.video.js
index 2fbf6be..f750c28 100644
--- a/public/assets/javascripts/mx/primitives/mx.video.js
+++ b/public/assets/javascripts/mx/primitives/mx.video.js
@@ -37,10 +37,10 @@ MX.Video = MX.Object3D.extend({
ready: function(){
if (this.media.autoplay) {
- video.play()
+ this.player.play()
}
else {
- video.currentTime = video.duration / 3
+ this.player.currentTime = this.player.duration / 3
}
},