aboutsummaryrefslogtreecommitdiffstats
path: root/extlib/video-js/demo.html
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-09-15 09:46:01 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-09-15 09:46:01 -0500
commita7fc4ecf40196e64753c6aa283eb669adb15e942 (patch)
treef14320a3a9b18840180e382de159851d8d3d5e5a /extlib/video-js/demo.html
parent1fef79f4f884c9e534b6f892cd2e448fc5e483eb (diff)
downloadmediagoblin-a7fc4ecf40196e64753c6aa283eb669adb15e942.tar.lz
mediagoblin-a7fc4ecf40196e64753c6aa283eb669adb15e942.tar.xz
mediagoblin-a7fc4ecf40196e64753c6aa283eb669adb15e942.zip
Updating the video.js that we use to avoid an XSS attack. Yikes! ;\
This commit sponsored by Daniel Valentine. Thank you!
Diffstat (limited to 'extlib/video-js/demo.html')
-rw-r--r--extlib/video-js/demo.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/extlib/video-js/demo.html b/extlib/video-js/demo.html
new file mode 100644
index 00000000..fb26a087
--- /dev/null
+++ b/extlib/video-js/demo.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Video.js | HTML5 Video Player</title>
+
+ <!-- Chang URLs to wherever Video.js files will be hosted -->
+ <link href="video-js.css" rel="stylesheet" type="text/css">
+ <!-- video.js must be in the <head> for older IEs to work. -->
+ <script src="video.js"></script>
+
+ <!-- Unless using the CDN hosted version, update the URL to the Flash SWF -->
+ <script>
+ videojs.options.flash.swf = "video-js.swf";
+ </script>
+
+
+</head>
+<body>
+
+ <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264"
+ poster="http://video-js.zencoder.com/oceans-clip.png"
+ data-setup="{}">
+ <source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' />
+ <source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
+ <source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
+ <track kind="captions" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 -->
+ </video>
+
+</body>
+</html>