Created
June 9, 2016 17:23
-
-
Save jbirdkerr/5f681c4855d2f94bdc0ba42a82d66f8a to your computer and use it in GitHub Desktop.
IFrame-able HTML for embedding live streaming video in Xibo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<link href="//vjs.zencdn.net/4.12/video-js.css" rel="stylesheet"> | |
<script src="//vjs.zencdn.net/4.12/video.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
document.createElement('video');document.createElement('audio');document.createElement('track'); | |
</script> | |
<video id="example_video_1" class="video-js vjs-default-skin" | |
controls preload="auto" width="1024" height="576" | |
data-setup='{"autoplay":true, "controls": true}'> | |
<source src="rtmp://xibo.myserver.loc/live/streamkey" type='video/ogg' /> | |
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment