src/widgets/JwpPlayer.js
changeset 969 353b0881a0b9
parent 964 d7d56ea2d0a6
child 970 b1c3bf6eca78
equal deleted inserted replaced
968:03c88ba5de2c 969:353b0881a0b9
    15         _pauseState = true,
    15         _pauseState = true,
    16         _props = [ "live", "provider", "autostart" ];
    16         _props = [ "live", "provider", "autostart" ];
    17     
    17     
    18     if (typeof this.video === "undefined") {
    18     if (typeof this.video === "undefined") {
    19         this.video = this.media.video;
    19         this.video = this.media.video;
       
    20     }
       
    21     
       
    22     if (typeof this.streamer === "undefined") {
       
    23         this.streamer = this.media.streamer;
    20     }
    24     }
    21     
    25     
    22     if (typeof this.streamer === "function") {
    26     if (typeof this.streamer === "function") {
    23         this.streamer = this.streamer(this.video);
    27         this.streamer = this.streamer(this.video);
    24     }
    28     }