<html>
<head>
<script language="JavaScript">
function resolution()
{
var x = document.getElementById('Video');
x.setAttribute('height', 480);
x.setAttribute('width', 640);
}
</script>
</head>
<body onload="go()">
<a href="index2.php">BIKE</a>
<a href="index_lino.php">lion</a>
<h1>VLC</h1>
<SCRIPT LANGUAGE="JScript">
<!--
function go(targetURL)
{
var options = new Array(":input-repeat");
document.vlc.addTarget("udp://192.168.4.121@:1234", options, 4+8, -666);
};
</SCRIPT>
<form method="post" action="query.php">
no of secs <input name="email" type="text" /><br />
<input type="submit"/>
</form>
<object classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8"
width="400" height="300" id="vlc" events="True">
<param name="Src" value="" />
<param name="ShowDisplay" value="True" />
<param name="Loop" value="False" />
<param name="AutoPlay" value="False" />
<table id="Video" height="576px" width="768px" cellspacing="0" cellpadding="0" style="visibility: visible;">
<tr>
<td width="100%" height="100%">
<embed id="vlc" type="application/x-vlc-plugin"
name="vlc"
autoplay="yes"
loop="no"
width="100%"
height="100%"
target="udp://192.168.4.121">
</embed>
</td>
</tr>
</table>
</embed>
</object>
<br>
<INPUT type=button value="Play" onClick='document.vlc.play();'>
<INPUT type=button value="Stop" onClick='document.vlc.stop();'>
<INPUT type=button value="Fullscreen" onClick='document.vlc.fullscreen();'>
<input type="button" value="Half Screen" onClick="resolution()">
</body>
</html>