No video output on vlc-0.9.0-test3-20080729-0131-win32.exe
Posted: 29 Jul 2008 04:33
On vlc-0.9.0-test3-20080729-0131-win32.exe, there are no video output. but it works fine on vlc-0.9.0-test3-20080721-0004-win32.exe
below is the test code
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="WebIPFinder.test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<table>
<tr>
<td>
<!-- vlc player -->
<div id="CH1" style="width:352px;height:240px;background:blue">
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
width="400" height="300" id="VLCH1" >
</object>
</div>
</td>
</tr>
</table>
<script type="text/javascript">
var options = [":no-overlay", ":no-one-instance"];
document.VLCH1.playlist.add("rtsp://192.168.90.12/mpeg4/media.amp", null, options);
document.VLCH1.playlist.play();
function Button1_onclick() {
alert(document.VLCH1.input.fps);
alert(document.VLCH1.video.width);
alert(document.VLCH1.video.height);
}
</script>
<p>
<input id="Button1" type="button" value="button" onclick="return Button1_onclick()" /></p>
</form>
</body>
</html>
below is the test code
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="WebIPFinder.test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<table>
<tr>
<td>
<!-- vlc player -->
<div id="CH1" style="width:352px;height:240px;background:blue">
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
width="400" height="300" id="VLCH1" >
</object>
</div>
</td>
</tr>
</table>
<script type="text/javascript">
var options = [":no-overlay", ":no-one-instance"];
document.VLCH1.playlist.add("rtsp://192.168.90.12/mpeg4/media.amp", null, options);
document.VLCH1.playlist.play();
function Button1_onclick() {
alert(document.VLCH1.input.fps);
alert(document.VLCH1.video.width);
alert(document.VLCH1.video.height);
}
</script>
<p>
<input id="Button1" type="button" value="button" onclick="return Button1_onclick()" /></p>
</form>
</body>
</html>