Added new demo states.html & updated existing demos to work on firefox.
Review URL: https://webrtc-codereview.appspot.com/1327007
git-svn-id: http://webrtc.googlecode.com/svn/trunk@3905 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/samples/js/demos/html/multiple.html b/samples/js/demos/html/multiple.html
index 35db2ed..83d3817 100644
--- a/samples/js/demos/html/multiple.html
+++ b/samples/js/demos/html/multiple.html
@@ -141,12 +141,14 @@
}
function gotRemoteStream1(e) {
- vid2.src = webkitURL.createObjectURL(e.stream);
+ // Call the polyfill wrapper to attach the media stream to this element.
+ attachMediaStream(vid2, e.stream);
trace("PC1: Received remote stream");
}
function gotRemoteStream2(e) {
- vid3.src = webkitURL.createObjectURL(e.stream);
+ // Call the polyfill wrapper to attach the media stream to this element.
+ attachMediaStream(vid3, e.stream);
trace("PC2: Received remote stream");
}