1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-16 11:37:29 +02:00
video.js/build/demo-files/demo.html

33 lines
1.4 KiB
HTML
Raw Normal View History

2010-05-18 05:51:17 +03:00
<!DOCTYPE html>
<html>
<head>
2012-01-09 23:38:43 +03:00
<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">
2011-10-01 03:28:43 +03:00
<!-- video.js must be in the <head> for older IEs to work. -->
<script src="video.js"></script>
2012-03-20 21:07:14 +03:00
<!-- Unless using the CDN hosted version, update the URL to the Flash SWF -->
<script>
2013-05-09 19:23:32 +03:00
videojs.options.flash.swf = "video-js.swf";
</script>
2012-03-20 21:07:14 +03:00
2010-05-18 07:25:32 +03:00
2010-05-18 05:51:17 +03:00
</head>
<body>
2010-06-09 11:24:12 +03:00
2011-10-01 03:28:43 +03:00
<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>
2011-10-01 03:28:43 +03:00
</video>
2010-06-09 11:24:12 +03:00
2010-05-18 05:51:17 +03:00
</body>
</html>