aboutsummaryrefslogtreecommitdiffstats
path: root/examples/web_server/priv/video.html
diff options
context:
space:
mode:
authorAdam Cammack <[email protected]>2013-02-16 02:21:54 -0600
committerAdam Cammack <[email protected]>2013-02-16 02:21:54 -0600
commitf112cdf643c520bb6554a2d8efa882e8e904b984 (patch)
tree640ef3b6570c1359345cc8f98854936ca3a67540 /examples/web_server/priv/video.html
parente3daf439da42283cf65faa3311ff73bb7ffe413b (diff)
downloadcowboy-f112cdf643c520bb6554a2d8efa882e8e904b984.tar.gz
cowboy-f112cdf643c520bb6554a2d8efa882e8e904b984.tar.bz2
cowboy-f112cdf643c520bb6554a2d8efa882e8e904b984.zip
Add a web server example
Explore re-routing in middleware.
Diffstat (limited to 'examples/web_server/priv/video.html')
-rw-r--r--examples/web_server/priv/video.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/web_server/priv/video.html b/examples/web_server/priv/video.html
new file mode 100644
index 0000000..eca63ee
--- /dev/null
+++ b/examples/web_server/priv/video.html
@@ -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>