mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-20 01:51:07 +02:00
38 lines
1 KiB
HTML
38 lines
1 KiB
HTML
<b>Play</b> | <a href="record.html">Record</a>
|
|
<br/>
|
|
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
|
|
|
|
<div id="container">Loading the player ...</div>
|
|
<script type="text/javascript">
|
|
jwplayer("container").setup({
|
|
modes: [
|
|
{ type: "flash",
|
|
src: "/jwplayer/player.swf",
|
|
config: {
|
|
bufferlength: 1,
|
|
file: "webcam",
|
|
streamer: "rtmp://192.168.0.100/helo",
|
|
provider: "rtmp",
|
|
}
|
|
}
|
|
]
|
|
});
|
|
</script>
|
|
|
|
<div id="container2">Loading the player ...</div>
|
|
<script type="text/javascript">
|
|
jwplayer("container2").setup({
|
|
modes: [
|
|
{ type: "flash",
|
|
src: "/jwplayer/player.swf",
|
|
config: {
|
|
bufferlength: 1,
|
|
file: "movie",
|
|
streamer: "rtmp://10.31.1.78/helo",
|
|
provider: "rtmp",
|
|
}
|
|
}
|
|
]
|
|
});
|
|
</script>
|