mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Add HTML5 Video Example to the static example
This commit is contained in:
parent
166761483d
commit
ca98a86b30
5 changed files with 18 additions and 1 deletions
BIN
examples/static/priv/small.mp4
Normal file
BIN
examples/static/priv/small.mp4
Normal file
Binary file not shown.
BIN
examples/static/priv/small.ogv
Normal file
BIN
examples/static/priv/small.ogv
Normal file
Binary file not shown.
11
examples/static/priv/video.html
Normal file
11
examples/static/priv/video.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<h1>HTML5 Video Example</h1>
|
||||
<video controls>
|
||||
<source src="small.ogv" type="video/ogg"/>
|
||||
<source src="small.mp4" type="video/mp4"/>
|
||||
</video>
|
||||
<p>Videos taken from <a href="http://techslides.com/sample-webm-ogg-and-mp4-video-files-for-html5/">TechSlides</a></p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue