nginx-mod-rtmp/test/www/index.html

20 lines
505 B
HTML
Raw Permalink Normal View History

2012-03-17 23:16:59 +01:00
<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({
2013-03-20 13:00:37 +01:00
sources: [
{
file: "rtmp://localhost/myapp?carg=1/mystream?sarg=2"
2012-03-17 23:16:59 +01:00
}
2013-03-20 13:00:37 +01:00
],
2013-04-06 18:30:40 +02:00
image: "bg.jpg",
2013-04-06 18:28:22 +02:00
autostart: false,
2013-03-20 13:00:37 +01:00
width: 640,
height: 480,
primary: "flash"
2012-03-17 23:16:59 +01:00
});
</script>