From ca98a86b30ca62e706a05c7cf83018471dce0fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 22 Jan 2013 17:19:39 +0100 Subject: Add HTML5 Video Example to the static example --- examples/static/README.md | 5 +++++ examples/static/priv/small.mp4 | Bin 0 -> 383631 bytes examples/static/priv/small.ogv | Bin 0 -> 872453 bytes examples/static/priv/video.html | 11 +++++++++++ examples/static/start.sh | 3 ++- 5 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 examples/static/priv/small.mp4 create mode 100644 examples/static/priv/small.ogv create mode 100644 examples/static/priv/video.html (limited to 'examples') diff --git a/examples/static/README.md b/examples/static/README.md index ef46312..78f5338 100644 --- a/examples/static/README.md +++ b/examples/static/README.md @@ -42,3 +42,8 @@ $ curl -sLO http://localhost:8080/test.txt $ cat test.txt If you read this then the static file server works! ``` + +HTML5 Video Example +------------------- + +Open http://localhost:8080/video.html in your favorite browser. diff --git a/examples/static/priv/small.mp4 b/examples/static/priv/small.mp4 new file mode 100644 index 0000000..1fc4788 Binary files /dev/null and b/examples/static/priv/small.mp4 differ diff --git a/examples/static/priv/small.ogv b/examples/static/priv/small.ogv new file mode 100644 index 0000000..6409d6e Binary files /dev/null and b/examples/static/priv/small.ogv differ diff --git a/examples/static/priv/video.html b/examples/static/priv/video.html new file mode 100644 index 0000000..eca63ee --- /dev/null +++ b/examples/static/priv/video.html @@ -0,0 +1,11 @@ + + + +

HTML5 Video Example

+ +

Videos taken from TechSlides

+ + diff --git a/examples/static/start.sh b/examples/static/start.sh index ab15739..bc67846 100755 --- a/examples/static/start.sh +++ b/examples/static/start.sh @@ -1,3 +1,4 @@ #!/bin/sh erl -pa ebin deps/*/ebin -s static \ - -eval "io:format(\"Point your browser at http://localhost:8080/test.txt~n\")." + -eval "io:format(\"Point your browser at http://localhost:8080/test.txt~n\")." \ + -eval "io:format(\"Point your browser at http://localhost:8080/video.html~n\")." -- cgit v1.2.3