nginx-mod-rtmp/test/rtmp-publisher/player.html

23 lines
614 B
HTML
Raw Permalink Normal View History

2012-08-15 22:02:08 +02:00
<!DOCTYPE html>
<html>
<head>
2012-08-16 11:08:24 +02:00
<title>RTMP Player</title>
2012-08-15 22:02:08 +02:00
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashVars = {
streamer: 'rtmp://localhost/myapp',
file:'mystream'
};
2013-07-25 23:29:05 +02:00
var params = {};
params.allowfullscreen = "true";
var attributes = {};
swfobject.embedSWF("RtmpPlayer.swf", "rtmp-publisher", "640", "480", "9.0.0", null, flashVars, params, attributes);
2012-08-15 22:02:08 +02:00
</script>
</head>
<body>
<div id="rtmp-publisher">
<p>Flash not installed</p>
</div>
</body>
</html>