forked from 0x2620/oxjs
update Ox.URL, add Ox.Event
This commit is contained in:
parent
738f734bde
commit
f2c8644001
6 changed files with 166 additions and 33 deletions
|
|
@ -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'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue