OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 | |
3 <!-- | |
4 Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
5 for details. All rights reserved. Use of this source code is governed by a | |
6 BSD-style license that can be found in the LICENSE file. | |
7 --> | |
8 | |
9 <html> | |
10 <head> | |
11 <meta charset="utf-8"> | |
12 <style> | |
13 video, canvas { | |
14 margin-top: 25px; | |
15 width: 200px; | |
16 height: 112px; | |
17 border: 1px solid black; | |
18 } | |
19 </style> | |
20 </head> | |
21 <body> | |
22 <video poster="http://www.html5rocks.com/en/tutorials/video/basics/star.png"
id="video-canvas-fancy" controls> | |
23 <source src="http://www.html5rocks.com/en/tutorials/video/basics/Chrome_Im
F.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'></source> | |
24 <source src="http://www.html5rocks.com/en/tutorials/video/basics/Chrome_Im
F.webm" type='video/webm; codecs="vp8, vorbis"'></source> | |
25 <source src="http://www.html5rocks.com/en/tutorials/video/basics/Chrome_Im
F.ogv" type='video/ogg; codecs="theora, vorbis"'></source> | |
26 </video> | |
27 <canvas id="canvas-copy-fancy"></canvas> | |
28 <canvas id="canvas-draw-fancy"></canvas> | |
29 | |
30 <script type="application/dart" src="video.dart"></script> | |
31 <script src="packages/browser/dart.js"></script> | |
32 </body> | |
33 </html> | |
OLD | NEW |