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

Side by Side Diff: chrome/test/data/webrtc/manual/constraints.html

Issue 18769010: Updated Chrome Test pages to use adapter.js (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>WebRTC GetUserMedia Constraints Manual Test</title> 4 <title>WebRTC GetUserMedia Constraints Manual Test</title>
5 <!-- Load the polyfill to switch-hit between Chrome and Firefox -->
6 <script type="text/javascript"
7 src="https://webrtc.googlecode.com/svn/trunk/samples/js/base/adapter.js">
8 </script>
5 <script type="text/javascript" src="constraints.js"></script> 9 <script type="text/javascript" src="constraints.js"></script>
6 <link rel="StyleSheet" type="text/css" href="stylesheet.css"> 10 <link rel="StyleSheet" type="text/css" href="stylesheet.css">
7 <meta charset="utf-8"> 11 <meta charset="utf-8">
8 </head> 12 </head>
9 <body> 13 <body>
10 14
11 <div id="wrapper"> 15 <div id="wrapper">
12 <div id="left"> 16 <div id="left">
13 <p>This page can create GetUserMedia <a href="http://goo.gl/qZQjV"> 17 <p>This page can create GetUserMedia <a href="http://goo.gl/qZQjV">
14 MediaStreamConstraints</a> that can be used on the<br/> 18 MediaStreamConstraints</a> that can be used on the<br/>
(...skipping 24 matching lines...) Expand all
39 Min 43 Min
40 <input type="text" id="optional-min-width" size="4"/>x 44 <input type="text" id="optional-min-width" size="4"/>x
41 <input type="text" id="optional-min-height" size="4"/> 45 <input type="text" id="optional-min-height" size="4"/>
42 FPS: <input type="text" id="optional-min-fps" size="2"/> 46 FPS: <input type="text" id="optional-min-fps" size="2"/>
43 Aspect ratio: <input type="text" id="optional-min-ar" size="2"/><br/> 47 Aspect ratio: <input type="text" id="optional-min-ar" size="2"/><br/>
44 Max 48 Max
45 <input type="text" id="optional-max-width" size="4"/>x 49 <input type="text" id="optional-max-width" size="4"/>x
46 <input type="text" id="optional-max-height" size="4"/> 50 <input type="text" id="optional-max-height" size="4"/>
47 FPS: <input type="text" id="optional-max-fps" size="2"/> 51 FPS: <input type="text" id="optional-max-fps" size="2"/>
48 Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/> 52 Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/>
49 <button id="re-request" onclick="getUserMedia();"> 53 <button id="re-request" onclick="doGetUserMedia();">
50 Request GetUserMedia 54 Request GetUserMedia
51 </button> 55 </button>
52 <h2>Messages</h2> 56 <h2>Messages</h2>
53 <pre id="messages"></pre> 57 <pre id="messages"></pre>
54 </div> 58 </div>
55 <div> 59 <div>
56 <h2>Local Preview</h2> 60 <h2>Local Preview</h2>
57 <video width="320" height="240" id="local-view" autoplay="autoplay"> 61 <video width="320" height="240" id="local-view" autoplay="autoplay">
58 </video> 62 </video>
59 </div> 63 </div>
60 </div> 64 </div>
61 </body> 65 </body>
62 </html> 66 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698