Feature #220 » crtmpserver2.html
| 1 |
<head>
|
|---|---|
| 2 |
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script> |
| 3 |
</head>
|
| 4 |
<html>
|
| 5 |
<body>
|
| 6 |
<!--
|
| 7 |
<video src="http://localhost:8080">
|
| 8 |
Your browser does not support the VIDEO tag and/or RTP streams.
|
| 9 |
</video>
|
| 10 |
-->
|
| 11 |
|
| 12 |
<div id="video-jwplayer_wrapper" style="position: relative; display: block; width: 320; height: 240;"> |
| 13 |
<object type="application/x-shockwave-flash" data="/jwplayer/jwplayer.flash.swf" |
| 14 |
width="100%" height="100%" bgcolor="#000000" id="video-jwplayer" name="video-jwplayer" tabindex="0"> |
| 15 |
<param name="allowfullscreen" value="true"> |
| 16 |
<param name="allowscriptaccess" value="always"> |
| 17 |
<param name="seamlesstabbing" value="true"> |
| 18 |
<param name="wmode" value="opaque"> |
| 19 |
</object>
|
| 20 |
<div id="video-jwplayer_aspect" style="display: none;"></div> |
| 21 |
<div id="video-jwplayer_jwpsrv" style="position: absolute; top: 0px; z-index: 10;"></div> |
| 22 |
</div>
|
| 23 |
|
| 24 |
<script type="text/javascript"> |
| 25 |
jwplayer('video-jwplayer').setup({ |
| 26 |
flashplayer:"/jwplayer/jwplayer.flash.swf" |
| 27 |
, file:"rtmp://" + window.location.hostname + "/flvplayback/flv:myStream.flv" |
| 28 |
, title: "SWF Playback" |
| 29 |
, autoStart: true |
| 30 |
, rtmp:{ |
| 31 |
bufferlength:0.1 |
| 32 |
}
|
| 33 |
, deliveryType: "streaming" |
| 34 |
, width: 320 |
| 35 |
, height: 240 |
| 36 |
, player: { |
| 37 |
modes: { |
| 38 |
linear: { |
| 39 |
controls:{ |
| 40 |
stream:{ |
| 41 |
manage:false |
| 42 |
, enabled: false |
| 43 |
}
|
| 44 |
}
|
| 45 |
}
|
| 46 |
}
|
| 47 |
}
|
| 48 |
, shows: { |
| 49 |
streamTimer: { |
| 50 |
enabled: true |
| 51 |
, tickRate: 100 |
| 52 |
}
|
| 53 |
}
|
| 54 |
});
|
| 55 |
</script>
|
| 56 |
|
| 57 |
</body>
|
| 58 |
</html>
|
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »