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

Unified Diff: src/site/samples/video/example/index.html

Issue 30853002: Added several more HTML5 samples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 7 years, 2 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: 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>
« no previous file with comments | « src/site/samples/terminal/example/packages/browser/interop.js ('k') | src/site/samples/video/example/packages/browser/dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698