web/res/metadataplayer/JwpPlayer.js
changeset 765 8cde4d15a173
parent 719 d0d3a9369f84
child 940 843f96e4eebd
equal deleted inserted replaced
764:67a0cee0077f 765:8cde4d15a173
    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         }