diff options
| author | ryderr <r@okfoc.us> | 2014-11-25 12:15:06 -0500 |
|---|---|---|
| committer | ryderr <r@okfoc.us> | 2014-11-25 12:15:06 -0500 |
| commit | 09f9ea552c0867ba1628393be012ad9046889076 (patch) | |
| tree | 87979ff88b359f522a646f6ccb75a256d49781d2 /public/assets/javascripts/mx/primitives/mx.video.js | |
| parent | 161a32efda5ed3fa243770d23c1d756a90bb2104 (diff) | |
| parent | c9325286ba7fcb38166deff8937105789edfb1d2 (diff) | |
Merge branch 'master' of github.com:okfocus/vvalls
Diffstat (limited to 'public/assets/javascripts/mx/primitives/mx.video.js')
| -rw-r--r-- | public/assets/javascripts/mx/primitives/mx.video.js | 4 |
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 333e1d2..c281f02 100644 --- a/public/assets/javascripts/mx/primitives/mx.video.js +++ b/public/assets/javascripts/mx/primitives/mx.video.js @@ -31,8 +31,8 @@ MX.Video = MX.Object3D.extend({ this.player.addEventListener("loadedmetadata", this.ready.bind(this)) this.player.addEventListener("error", this.error.bind(this)) this.player.addEventListener("ended", this.finished.bind(this)) - this.player.width = this.width - this.player.height = this.height + this.player.width = "100%" + this.player.height = "100%" this.player.src = this.media.url this.player.load() |
