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

Side by Side Diff: native_client_sdk/src/examples/api/video_encode/index.html

Issue 1037793003: nacl sdk: add PPB_VideoEncoder example (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <!-- 3 <!--
4 Copyright 2014 The Chromium Authors. All rights reserved. 4 Copyright 2015 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be 5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file. 6 found in the LICENSE file.
7 --> 7 -->
8 <head> 8 <head>
9 <meta http-equiv="Pragma" content="no-cache"> 9 <meta http-equiv="Pragma" content="no-cache">
10 <meta http-equiv="Expires" content="-1"> 10 <meta http-equiv="Expires" content="-1">
11 <title>{{title}}</title> 11 <title>{{title}}</title>
12 <script type="text/javascript" src="common.js"></script> 12 <script type="text/javascript" src="common.js"></script>
13 <script type="text/javascript" src="example.js"></script> 13 <script type="text/javascript" src="example.js"></script>
14 </head> 14 <style>
15 #video { position: fixed; }
16 </style>
17 </head>
15 <body data-width="640" data-height="480" {{attrs}}> 18 <body data-width="640" data-height="480" {{attrs}}>
16 <h1>{{title}}</h1> 19 <h1>{{title}}</h1>
17 <h2>Status: <code id="statusField">NO-STATUS</code></h2> 20 <h2>Status: <code id="statusField">NO-STATUS</code></h2>
18 <p>The MediaStream Audio example demonstrates how to capture audio data from 21 <p>The VideoEncode example demonstrates how to encode video.</p>
19 an audio input device.</p> 22 <br>
23 <select id="profileList"></select>
24 <input type="button" id="start" value="Start Recording"/>
25 <input type="button" id="stop" value="Stop Recording"/>
26 <input type="button" id="download" value="Download Recording"/>
27 <div id="length"></div>
28 <br>
29 <video id="video" width="640px" height="480px"></video>
20 <!-- The NaCl plugin will be embedded inside the element with id "listener". 30 <!-- The NaCl plugin will be embedded inside the element with id "listener".
21 See common.js.--> 31 See common.js.-->
22 <div id="listener"></div> 32 <div id="listener"></div>
23 </body> 33 <pre id="log" style="font-weight: bold"></pre>
34 </body>
24 </html> 35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698