Skip to content

Instantly share code, notes, and snippets.

@jfreeman
Created January 5, 2017 18:04
Show Gist options
  • Save jfreeman/6505ec473d2976034cccd4589e4ee444 to your computer and use it in GitHub Desktop.
Save jfreeman/6505ec473d2976034cccd4589e4ee444 to your computer and use it in GitHub Desktop.
index.html for video.js
<html>
<head>
<link href="http://vjs.zencdn.net/5.8.8/video-js.css" rel="stylesheet">
<!-- If you'd like to support IE8 -->
<script src="http://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js"></script>
</head>
<body>
<video id="my-video" class="video-js" controls preload="auto" width="640" hei$
poster="172.20.30.115/live.jpg" data-setup="{}">
<source src="172.20.30.115/live/test" type='rtmp/flv'>
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a $
<a href="http://videojs.com/html5-video-support/" target="_blank">support$
</p>
</video>
<script src="http://vjs.zencdn.net/5.8.8/video.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment