equal
deleted
inserted
replaced
34 |
34 |
35 _opts.file = this.video; |
35 _opts.file = this.video; |
36 _opts.flashplayer = IriSP.getLib("jwPlayerSWF"); |
36 _opts.flashplayer = IriSP.getLib("jwPlayerSWF"); |
37 _opts["controlbar.position"] = "none"; |
37 _opts["controlbar.position"] = "none"; |
38 _opts.width = this.width; |
38 _opts.width = this.width; |
39 _opts.height = this.height || Math.floor(.643*this.width); |
39 if (this.height) { |
|
40 _opts.height = this.height; |
|
41 } |
40 |
42 |
41 for (var i = 0; i < _props.length; i++) { |
43 for (var i = 0; i < _props.length; i++) { |
42 if (typeof this[_props[i]] !== "undefined") { |
44 if (typeof this[_props[i]] !== "undefined") { |
43 _opts[_props[i]] = this[_props[i]]; |
45 _opts[_props[i]] = this[_props[i]]; |
44 } |
46 } |