Last active
August 29, 2015 14:22
-
-
Save LA1CH3/81df430f75b31304b777 to your computer and use it in GitHub Desktop.
OBX Surf Info - Rodanthe Camera Code
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
<!--/* RODANTHE CAM */--> | |
<html> | |
<head> | |
<title><em>'OBXsurfinfo.com</em> Cam: Rodanthe, NC'</title> | |
<script type='text/javascript' src='http://obxsurfinfo.com/jwplayer/jwplayer.js'></script> | |
<script type="text/javascript">jwplayer.key="HkK82SF6pb3Nsl4jUamA+6I28yoBeFIUZm54ow+2JbI=";</script> | |
</head> | |
<div id='mediaspace'><a href="http://64.34.175.240:1935/cameras/camera2.stream/playlist.m3u8">WATCH LIVE ON Ipad,Iphone</a><del datetime="2013-09-25T17:40:33+00:00"> | |
</del></div> | |
<script type='text/javascript'> | |
jwplayer('mediaspace').setup({ | |
'author': 'OBXSURFINFO', | |
'description': 'OBXsurfinfo.com Cam: Rodanthe, NC', | |
'image': 'http://obxsurfinfo.com/wp-content/uploads/2012/04/logo.png ', | |
'title': 'OBXsurfinfo.com Cam: Rodanthe, NC', | |
'backcolor': 'CCCCCC', | |
'frontcolor': '0000FF', | |
'screencolor': '000000', | |
'streamer': 'rtmp://64.34.175.240:1935/cameras/camera2.stream', | |
'autostart': 'true', | |
'controlbar': 'bottom', | |
'width': '580', | |
'height': '340', | |
sources: [{ | |
file: 'rtmp://64.34.175.240:1935/cameras/camera2.stream' | |
},{ | |
file: 'http://64.34.175.240:1935/cameras/camera2.stream/playlist.m3u8' | |
}], | |
'modes': [ | |
{type: 'flash', src: 'http://obxsurfinfo.com/jwplayer/jwplayer.flash.swf'}, | |
{ | |
type: 'html5', | |
config: { | |
'file': 'http://64.34.175.240:1935/cameras/camera2.stream/playlist.m3u8', | |
'provider': 'video' | |
} | |
}, | |
{ | |
type: 'download', | |
config: { | |
'file': 'http://64.34.175.240:1935/cameras/camera2.stream/playlist.m3u8', | |
'provider': 'video' | |
} | |
} | |
] | |
}); | |
// ]]> | |
// Pause jwplayer after period of time | |
window.setTimeout(function(){ | |
jwplayer().pause(true); | |
}, 30000); | |
</script> | |
<a href="rtsp://64.34.175.240:1935/cameras/camera2.stream">Play this on Android</a> | |
</html> | |
<!--/* RODANTHE CAM */--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment