src/widgets/JwpPlayer.js
changeset 964 d7d56ea2d0a6
parent 963 d58d0dcdb640
child 969 353b0881a0b9
--- a/src/widgets/JwpPlayer.js	Wed Sep 19 14:59:35 2012 +0900
+++ b/src/widgets/JwpPlayer.js	Fri Sep 21 11:18:57 2012 +0900
@@ -23,7 +23,7 @@
         this.streamer = this.streamer(this.video);
     }
 
-    if (typeof this.streamer === "string") {
+    if (typeof this.streamer === "string" && (this.provider === "http" || this.provider === "rtmp")) {
         this.video = this.video.replace(this.streamer,"");
         _opts.streamer = this.streamer;
     }