diff options
Diffstat (limited to 'public/js/lib/video.js')
| -rw-r--r-- | public/js/lib/video.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/public/js/lib/video.js b/public/js/lib/video.js index aa01d23..91bbfe6 100644 --- a/public/js/lib/video.js +++ b/public/js/lib/video.js @@ -3,13 +3,11 @@ var VideoView = View.extend({ events: { }, - initialize: function(media){ - this.media = media - this.mx - this.build(media) + initialize: function(){ }, - build: function(media){ + load: function(media){ + this.media = media var mxType switch (media.type) { case 'video': |
