forked from 0x2620/oxjs
various improvements in OxJS and OxUI
This commit is contained in:
parent
74b9a25387
commit
7380595c7e
48 changed files with 184 additions and 161 deletions
|
|
@ -2,7 +2,7 @@
|
|||
Ox.VideoElement = function(options, self) {
|
||||
|
||||
var self = self || {},
|
||||
that = new Ox.Element('video', self)
|
||||
that = new Ox.Element('<video>', self)
|
||||
.defaults({
|
||||
fps: 25,
|
||||
height: 0,
|
||||
|
|
@ -57,7 +57,7 @@ Ox.VideoElement = function(options, self) {
|
|||
});
|
||||
}
|
||||
|
||||
self.onChange = function(key, value) {
|
||||
self.setOption = function(key, value) {
|
||||
if (key == 'height') {
|
||||
that.size(self.options.width, value);
|
||||
} else if (key == 'muted') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue