mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-20 09:51:08 +02:00
updated JWPlayer & test page
This commit is contained in:
parent
4eca0892a3
commit
5d28b1b44c
|
@ -5,16 +5,14 @@
|
||||||
<div id="container">Loading the player ...</div>
|
<div id="container">Loading the player ...</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
jwplayer("container").setup({
|
jwplayer("container").setup({
|
||||||
modes: [
|
sources: [
|
||||||
{ type: "flash",
|
{
|
||||||
src: "/jwplayer/player.swf",
|
file: "rtmp://localhost/myapp?carg=1/mystream?sarg=2"
|
||||||
config: {
|
|
||||||
bufferlength: 1,
|
|
||||||
file: "mystream",
|
|
||||||
streamer: "rtmp://localhost/myapp",
|
|
||||||
provider: "rtmp",
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
autostart: true,
|
||||||
|
width: 640,
|
||||||
|
height: 480,
|
||||||
|
primary: "flash"
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
BIN
test/www/jwplayer/jwplayer.flash.swf
Normal file
BIN
test/www/jwplayer/jwplayer.flash.swf
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in a new issue