1
0
Fork 0
forked from 0x2620/oxjs

update Ox.URL, add Ox.Event

This commit is contained in:
rlx 2011-09-23 10:43:57 +00:00
commit f2c8644001
6 changed files with 166 additions and 33 deletions

View file

@ -119,8 +119,10 @@ Ox.VideoPreview = function(options, self) {
self.setOption = function(key, value) {
if (key == 'height') {
that.css({height: value + 'px'});
self.$frame.css(getFrameCSS());
} else if (key == 'width') {
that.css({width: value + 'px'});
self.$frame.attr({src: self.options.getFrame()})
.css(getFrameCSS());
self.$timeline.css({width: value + 'px'});