Index: test/data/webrtc/manual/constraints.html |
=================================================================== |
--- test/data/webrtc/manual/constraints.html (revision 191906) |
+++ test/data/webrtc/manual/constraints.html (working copy) |
@@ -2,6 +2,11 @@ |
<html> |
<head> |
<title>WebRTC GetUserMedia Constraints Manual Test</title> |
+ <meta http-equiv="X-UA-Compatible" content="chrome=1"/> |
+ <!-- Load the polyfill to switch-hit between Chrome and Firefox --> |
+ <script type="text/javascript" |
+ src="https://webrtc.googlecode.com/svn/trunk/samples/js/base/adapter.js"> |
+ </script> |
<script type="text/javascript" src="constraints.js"></script> |
<link rel="StyleSheet" type="text/css" href="stylesheet.css"> |
<meta charset="utf-8"> |
@@ -46,7 +51,7 @@ |
<input type="text" id="optional-max-height" size="4"/> |
FPS: <input type="text" id="optional-max-fps" size="2"/> |
Aspect ratio: <input type="text" id="optional-max-ar" size="2"/><br/> |
- <button id="re-request" onclick="getUserMedia();"> |
+ <button id="re-request" onclick="doGetUserMedia();"> |
Request GetUserMedia |
</button> |
<h2>Messages</h2> |