mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add players to nginx
This commit is contained in:
parent
9080c2e559
commit
c4477cd64f
7 changed files with 9 additions and 4 deletions
2
trunk/research/players/jwplayer5/index.html
Normal file → Executable file
2
trunk/research/players/jwplayer5/index.html
Normal file → Executable file
|
@ -17,7 +17,7 @@
|
|||
<div class="main">
|
||||
<div id="player"></div>
|
||||
<div class="control" id="control">
|
||||
Url(RTMP/HTTP): <input id="url" type="text" class="url" value="rtmp://dev:1935/live/livestream"></input>
|
||||
Url(RTMP/HTTP): <input id="url" type="text" class="url" value="rtmp://demo:1935/live/livestream"></input>
|
||||
<input type="button" class="play" value="Play" onclick="play()"></input>
|
||||
</div>
|
||||
</div>
|
||||
|
|
2
trunk/research/players/jwplayer6/index.html
Normal file → Executable file
2
trunk/research/players/jwplayer6/index.html
Normal file → Executable file
|
@ -17,7 +17,7 @@
|
|||
<div class="main">
|
||||
<div id="player"></div>
|
||||
<div class="control" id="control">
|
||||
Url(RTMP/HTTP): <input id="url" type="text" class="url" value="rtmp://dev:1935/live/livestream"></input>
|
||||
Url(RTMP/HTTP): <input id="url" type="text" class="url" value="rtmp://demo:1935/live/livestream"></input>
|
||||
<input type="button" class="play" value="Play" onclick="play()"></input>
|
||||
</div>
|
||||
</div>
|
||||
|
|
2
trunk/research/players/osmf/index.html
Normal file → Executable file
2
trunk/research/players/osmf/index.html
Normal file → Executable file
|
@ -19,7 +19,7 @@ div.control{padding-bottom:10px; background-color:#333333; }
|
|||
<div class="main" id="main">
|
||||
<div id="player" class="player"></div>
|
||||
<div class="control" id="control">
|
||||
Url(RTMP/HTTP): <input id="url" type="text" class="url" value="rtmp://dev:1935/live/livestream"></input>
|
||||
Url(RTMP/HTTP): <input id="url" type="text" class="url" value="rtmp://demo:1935/live/livestream"></input>
|
||||
<select class="type" id="type">
|
||||
<option value="live" selected>live</option>
|
||||
<option value="recorded">vod</option>
|
||||
|
|
2
trunk/research/players/rtmp/index.html
Normal file → Executable file
2
trunk/research/players/rtmp/index.html
Normal file → Executable file
|
@ -21,7 +21,7 @@
|
|||
<script type="text/javascript">
|
||||
var o = new RtmpPlayer("player", "RtmpPlayer.swf", 1350, 1050);
|
||||
|
||||
o.setRtmpUrl("rtmp://dev:1935/live/livestream");
|
||||
o.setRtmpUrl("rtmp://demo:1935/live/livestream");
|
||||
o.admin = "admin";
|
||||
o.password = "123456";
|
||||
o.loop = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue