-
Notifications
You must be signed in to change notification settings - Fork 21
/
video_small.php
39 lines (31 loc) · 1.05 KB
/
video_small.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<head>
<?php
$n=$_GET["n"];
include_once("incsan.php");
sanV($n);
if (!$n) exit;
$swfurl="live_video.swf?n=".urlencode($n);
$scale="noborder";
$agent = $_SERVER['HTTP_USER_AGENT'];
if( strstr($agent,'iPhone') || strstr($agent,'iPod') || strstr($agent,'iPad'))
echo "<p><b>iOS detected: If your browser does not support Flash plugin, a transcoded stream could be available (if supported by host): <a href='ls_transcoder.php?n=$n'>iOS Transcoder</a></b></p>";
?><style type="text/css">
<!--
body {
background-color: #000;
}
-->
</style>
<title><?php echo $n?> Live Video Streaming</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="videowhisper_video">
<object width="480" height="360" type="application/x-shockwave-flash" data="<?=$swfurl?>">
<param name="movie" value="<?php echo $swfurl?>"></param>
<param name="scale" value="<?php echo $scale?>" />
<param name="salign" value="lt"></param>
<param name="allowFullScreen" value="true"></param>
<param name="allowscriptaccess" value="always"></param>
</object>
</div>
</body>