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

Unified Diff: native_client_sdk/src/examples/api/media_stream_video/index.html

Issue 212533007: Sync NaCl MediaStream Video example with ppapi/examples/media_stream_video (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issue Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/examples/api/media_stream_video/index.html
diff --git a/native_client_sdk/src/examples/api/media_stream_video/index.html b/native_client_sdk/src/examples/api/media_stream_video/index.html
index b03fc5099ed92bf3266e18e8ca8418f82fc51690..a99d918521afd308c83ddd66af83e56b481dbaee 100644
--- a/native_client_sdk/src/examples/api/media_stream_video/index.html
+++ b/native_client_sdk/src/examples/api/media_stream_video/index.html
@@ -12,13 +12,24 @@ found in the LICENSE file.
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="example.js"></script>
</head>
-<body data-width="640" data-height="480" {{attrs}}>
+<body data-width="640" data-height="240" {{attrs}}>
<h1>{{title}}</h1>
<h2>Status: <code id="statusField">NO-STATUS</code></h2>
<p>The MediaStream Video example demonstrates how to capture video from
a webcam.</p>
+ Left side shows YUV frames. Right side shows BGRA frames.<br>
<!-- The NaCl plugin will be embedded inside the element with id "listener".
See common.js.-->
<div id="listener"></div>
+ <h2>Format:</h2><br>
+ <button id="YV12">YV12</button>
+ <button id="I420" >I420</button>
+ <button id="BGRA" >BGRA</button>
+ <button id="DEFAULT" >DEFAULT</button>
+ <h2>Size:</h2><br>
+ <button id="S72X72" >72 x 72</button>
+ <button id="S640X360" >640 x 360</button>
+ <button id="S1280X720" >1280 x 720</button>
+ <button id="SDEFAULT" >DEFAULT</button>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698