OLD | NEW |
| (Empty) |
1 --- | |
2 layout: default | |
3 title: HTML5 Video | |
4 live_example_url: example/index.html | |
5 | |
6 header: | |
7 css: ["/samples/samples.css"] | |
8 --- | |
9 | |
10 ## {{ page.title }} | |
11 | |
12 A port of an example used in the | |
13 [HTML5 Video](http://www.html5rocks.com/en/tutorials/video/basics/) | |
14 article by Ernest Delgado, originally published on HTML5Rocks. | |
15 | |
16 The example shows how to use the `<video>` tag with different video formats. | |
17 | |
18 You can run the example by running `pub serve` from the `dart-samples/html5` | |
19 directory, and then visiting | |
20 [localhost:8080/video/basics/](http://localhost:8080/video/basics/). | |
21 | |
22 Read the | |
23 [source](https://github.com/dart-lang/dart-samples/tree/master/html5/web/video/b
asics). | |
24 | |
25 <iframe class="running-app-frame" | |
26 style="height:500px;width:100%;" | |
27 src="{{page.live_example_url}}"> | |
28 </iframe> | |
29 | |
30 See all [samples](/samples/). | |
OLD | NEW |