mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-09 06:01: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>
|
||||
<script type="text/javascript">
|
||||
jwplayer("container").setup({
|
||||
modes: [
|
||||
{ type: "flash",
|
||||
src: "/jwplayer/player.swf",
|
||||
config: {
|
||||
bufferlength: 1,
|
||||
file: "mystream",
|
||||
streamer: "rtmp://localhost/myapp",
|
||||
provider: "rtmp",
|
||||
}
|
||||
sources: [
|
||||
{
|
||||
file: "rtmp://localhost/myapp?carg=1/mystream?sarg=2"
|
||||
}
|
||||
]
|
||||
],
|
||||
autostart: true,
|
||||
width: 640,
|
||||
height: 480,
|
||||
primary: "flash"
|
||||
});
|
||||
</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