Index: src/site/samples/video/example/index.html |
diff --git a/src/site/samples/video/example/index.html b/src/site/samples/video/example/index.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0e0a21be8cc14e8d6e566ce31b6c00f0cd5ef65e |
--- /dev/null |
+++ b/src/site/samples/video/example/index.html |
@@ -0,0 +1,33 @@ |
+<!DOCTYPE html> |
+ |
+<!-- |
+ Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
+ for details. All rights reserved. Use of this source code is governed by a |
+ BSD-style license that can be found in the LICENSE file. |
+--> |
+ |
+<html> |
+ <head> |
+ <meta charset="utf-8"> |
+ <style> |
+ video, canvas { |
+ margin-top: 25px; |
+ width: 200px; |
+ height: 112px; |
+ border: 1px solid black; |
+ } |
+ </style> |
+ </head> |
+ <body> |
+ <video poster="http://www.html5rocks.com/en/tutorials/video/basics/star.png" id="video-canvas-fancy" controls> |
+ <source src="http://www.html5rocks.com/en/tutorials/video/basics/Chrome_ImF.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' /> |
+ <source src="http://www.html5rocks.com/en/tutorials/video/basics/Chrome_ImF.webm" type='video/webm; codecs="vp8, vorbis"' /> |
+ <source src="http://www.html5rocks.com/en/tutorials/video/basics/Chrome_ImF.ogv" type='video/ogg; codecs="theora, vorbis"' /> |
+ </video> |
+ <canvas id="canvas-copy-fancy"></canvas> |
+ <canvas id="canvas-draw-fancy"></canvas> |
+ |
+ <script type="application/dart" src="video.dart"></script> |
+ <script src="packages/browser/dart.js"></script> |
+ </body> |
+</html> |