diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-24 11:56:07 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-24 12:18:23 -0500 |
| commit | d941ec46ee1d3842387837377140e8d1fc854b17 (patch) | |
| tree | 232c4123c9b72fbaf2bb3fb69f4ffba4ca3a9b5a /public/assets/javascripts/mx/primitives/mx.video.js | |
| parent | 377fa673972f32e558faabe74903a237ee1b5c65 (diff) | |
dividing everything by devicePixelRatio
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() |
