Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
IFrame-able HTML for embedding live streaming video in Xibo
<!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