src/widgets/JwpPlayer.js
changeset 964 d7d56ea2d0a6
parent 963 d58d0dcdb640
child 969 353b0881a0b9
equal deleted inserted replaced
963:d58d0dcdb640 964:d7d56ea2d0a6
    21     
    21     
    22     if (typeof this.streamer === "function") {
    22     if (typeof this.streamer === "function") {
    23         this.streamer = this.streamer(this.video);
    23         this.streamer = this.streamer(this.video);
    24     }
    24     }
    25 
    25 
    26     if (typeof this.streamer === "string") {
    26     if (typeof this.streamer === "string" && (this.provider === "http" || this.provider === "rtmp")) {
    27         this.video = this.video.replace(this.streamer,"");
    27         this.video = this.video.replace(this.streamer,"");
    28         _opts.streamer = this.streamer;
    28         _opts.streamer = this.streamer;
    29     }
    29     }
    30         
    30         
    31     _opts.file = this.video;
    31     _opts.file = this.video;