Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 <meta http-equiv="X-UA-Compatible" content="chrome=1"/> | |
| 6 <!-- Load the polyfill to switch-hit between Chrome and Firefox --> | |
| 7 <script type="text/javascript" | |
| 8 src="https://webrtc.googlecode.com/svn/trunk/samples/js/base/adapter.js"> | |
|
kjellander_chromium
2013/03/26 06:46:10
I know the HTML style guide is tricky. A wrapped l
elham
2013/04/02 22:06:21
Done.
| |
| 9 </script> | |
| 5 <script type="text/javascript" src="constraints.js"></script> | 10 <script type="text/javascript" src="constraints.js"></script> |
| 6 <link rel="StyleSheet" type="text/css" href="stylesheet.css"> | 11 <link rel="StyleSheet" type="text/css" href="stylesheet.css"> |
| 7 <meta charset="utf-8"> | 12 <meta charset="utf-8"> |
| 8 </head> | 13 </head> |
| 9 <body> | 14 <body> |
| 10 | 15 |
| 11 <div id="wrapper"> | 16 <div id="wrapper"> |
| 12 <div id="left"> | 17 <div id="left"> |
| 13 <p>This page can create GetUserMedia <a href="http://goo.gl/qZQjV"> | 18 <p>This page can create GetUserMedia <a href="http://goo.gl/qZQjV"> |
| 14 MediaStreamConstraints</a> that can be used on the<br/> | 19 MediaStreamConstraints</a> that can be used on the<br/> |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 39 Min | 44 Min |
| 40 <input type="text" id="optional-min-width" size="4"/>x | 45 <input type="text" id="optional-min-width" size="4"/>x |
| 41 <input type="text" id="optional-min-height" size="4"/> | 46 <input type="text" id="optional-min-height" size="4"/> |
| 42 FPS: <input type="text" id="optional-min-fps" size="2"/> | 47 FPS: <input type="text" id="optional-min-fps" size="2"/> |
| 43 Aspect ratio: <input type="text" id="optional-min-ar" size="2"/><br/> | 48 Aspect ratio: <input type="text" id="optional-min-ar" size="2"/><br/> |
| 44 Max | 49 Max |
| 45 <input type="text" id="optional-max-width" size="4"/>x | 50 <input type="text" id="optional-max-width" size="4"/>x |
| 46 <input type="text" id="optional-max-height" size="4"/> | 51 <input type="text" id="optional-max-height" size="4"/> |
| 47 FPS: <input type="text" id="optional-max-fps" size="2"/> | 52 FPS: <input type="text" id="optional-max-fps" size="2"/> |
| 48 Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/> | 53 Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/> |
| 49 <button id="re-request" onclick="getUserMedia();"> | 54 <button id="re-request" onclick="doGetUserMedia();"> |
| 50 Request GetUserMedia | 55 Request GetUserMedia |
| 51 </button> | 56 </button> |
| 52 <h2>Messages</h2> | 57 <h2>Messages</h2> |
| 53 <pre id="messages"></pre> | 58 <pre id="messages"></pre> |
| 54 </div> | 59 </div> |
| 55 <div> | 60 <div> |
| 56 <h2>Local Preview</h2> | 61 <h2>Local Preview</h2> |
| 57 <video width="320" height="240" id="local-view" autoplay="autoplay"> | 62 <video width="320" height="240" id="local-view" autoplay="autoplay"> |
| 58 </video> | 63 </video> |
| 59 </div> | 64 </div> |
| 60 </div> | 65 </div> |
| 61 </body> | 66 </body> |
| 62 </html> | 67 </html> |
| OLD | NEW |