Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: chrome/test/data/webrtc/manual/peerconnection-multi.html

Issue 121203002: Use window.URL instead of window.webkitURL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: window.URL -> URL in user_images_grid.js Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <!-- 2 <!--
3 Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 3 Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
4 4
5 Use of this source code is governed by a BSD-style license 5 Use of this source code is governed by a BSD-style license
6 that can be found in the LICENSE file in the root of the source 6 that can be found in the LICENSE file in the root of the source
7 tree. An additional intellectual property rights grant can be found 7 tree. An additional intellectual property rights grant can be found
8 in the file PATENTS. All contributing project authors may 8 in the file PATENTS. All contributing project authors may
9 be found in the AUTHORS file in the root of the source tree. 9 be found in the AUTHORS file in the root of the source tree.
10 --> 10 -->
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 } 59 }
60 60
61 function addRemoteView(elementName, peerNumber) { 61 function addRemoteView(elementName, peerNumber) {
62 var remoteViews = $('remote-views-' + peerNumber); 62 var remoteViews = $('remote-views-' + peerNumber);
63 remoteViews.innerHTML += 63 remoteViews.innerHTML +=
64 '<tr><td><video width="320" height="240" id="' + elementName + '" ' + 64 '<tr><td><video width="320" height="240" id="' + elementName + '" ' +
65 'autoplay="autoplay"></video></td></tr>'; 65 'autoplay="autoplay"></video></td></tr>';
66 } 66 }
67 67
68 function play(stream, videoElement) { 68 function play(stream, videoElement) {
69 var streamUrl = webkitURL.createObjectURL(stream); 69 var streamUrl = URL.createObjectURL(stream);
70 $(videoElement).src = streamUrl; 70 $(videoElement).src = streamUrl;
71 } 71 }
72 72
73 function getUserMediaFailedCallback(error) { 73 function getUserMediaFailedCallback(error) {
74 console.log('getUserMedia request failed with code ' + error.code); 74 console.log('getUserMedia request failed with code ' + error.code);
75 } 75 }
76 76
77 function call() { 77 function call() {
78 connection1 = new webkitRTCPeerConnection(null, 78 connection1 = new webkitRTCPeerConnection(null,
79 {optional:[{RtpDataChannels: true}]}); 79 {optional:[{RtpDataChannels: true}]});
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 <table id="remote-views-2"> 273 <table id="remote-views-2">
274 <tr> 274 <tr>
275 <td>Remote (Incoming to Peer 2)</td> 275 <td>Remote (Incoming to Peer 2)</td>
276 </tr> 276 </tr>
277 </table> 277 </table>
278 </td> 278 </td>
279 </tr> 279 </tr>
280 </table> 280 </table>
281 </body> 281 </body>
282 </html> 282 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/platform_apps/iframes/main.js ('k') | content/browser/resources/media/dump_creator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698