| Index: native_client_sdk/src/examples/api/video_encode/index.html
|
| diff --git a/native_client_sdk/src/examples/api/media_stream_audio/index.html b/native_client_sdk/src/examples/api/video_encode/index.html
|
| similarity index 53%
|
| copy from native_client_sdk/src/examples/api/media_stream_audio/index.html
|
| copy to native_client_sdk/src/examples/api/video_encode/index.html
|
| index dafb02174f9a85d4b07cfcfae2f1134b49d18607..a77c802d16a1d150e38722f54b5092a234b3f8d3 100644
|
| --- a/native_client_sdk/src/examples/api/media_stream_audio/index.html
|
| +++ b/native_client_sdk/src/examples/api/video_encode/index.html
|
| @@ -1,7 +1,7 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <!--
|
| -Copyright 2014 The Chromium Authors. All rights reserved.
|
| +Copyright 2015 The Chromium Authors. All rights reserved.
|
| Use of this source code is governed by a BSD-style license that can be
|
| found in the LICENSE file.
|
| -->
|
| @@ -11,14 +11,25 @@ found in the LICENSE file.
|
| <title>{{title}}</title>
|
| <script type="text/javascript" src="common.js"></script>
|
| <script type="text/javascript" src="example.js"></script>
|
| -</head>
|
| + <style>
|
| + #video { position: fixed; }
|
| + </style>
|
| + </head>
|
| <body data-width="640" data-height="480" {{attrs}}>
|
| <h1>{{title}}</h1>
|
| <h2>Status: <code id="statusField">NO-STATUS</code></h2>
|
| - <p>The MediaStream Audio example demonstrates how to capture audio data from
|
| - an audio input device.</p>
|
| + <p>The VideoEncode example demonstrates how to encode video.</p>
|
| + <br>
|
| + <select id="profileList"></select>
|
| + <input type="button" id="start" value="Start Recording"/>
|
| + <input type="button" id="stop" value="Stop Recording"/>
|
| + <input type="button" id="download" value="Download Recording"/>
|
| + <div id="length"></div>
|
| + <br>
|
| + <video id="video" width="640px" height="480px"></video>
|
| <!-- The NaCl plugin will be embedded inside the element with id "listener".
|
| See common.js.-->
|
| <div id="listener"></div>
|
| -</body>
|
| + <pre id="log" style="font-weight: bold"></pre>
|
| + </body>
|
| </html>
|
|
|