diff options
| author | root | 2014-09-13 22:26:58 +0200 |
|---|---|---|
| committer | root | 2014-09-13 22:26:58 +0200 |
| commit | c5639ee890215e4e8e0f544821ea8d285ca58eb8 (patch) | |
| tree | 29f685943c61c4d7ec0e376e485686e985b97065 /player/demo.html | |
| parent | f8c60cae423fc78ed21d17a9217716ccc1e6dab1 (diff) | |
| download | video-dl-c5639ee890215e4e8e0f544821ea8d285ca58eb8.tar.gz | |
init
Diffstat (limited to 'player/demo.html')
| -rw-r--r-- | player/demo.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/player/demo.html b/player/demo.html new file mode 100644 index 0000000..8093718 --- /dev/null +++ b/player/demo.html @@ -0,0 +1,32 @@ +<!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 --> + <track kind="subtitles" src="demo.captions.vtt" srclang="en" label="English"></track><!-- Tracks need an ending tag thanks to IE9 --> + <p class="vjs-no-js">To view this video please enable JavaScript, and consider upgrading to a web browser that <a href="http://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a></p> + </video> + +</body> +</html> |
