I have created a page that uses vlc to display video feeds. IF the user does not have vlc installed, I would like the page to install the cab file that I created.
I succesfully created a cab file with version 9.9. The following page starts the vlc installation automatically and prompts me to press the button to begin the installation. However, the cab file wil not install when I place it on the server and refer to it.
The only difference in the page is the codebase tag. When testing on my computer, I simply specify "vlc.cab" (the name of the cab file I built) in the codebase tag. When referring to the page on our server, I replace the codebase tag with the url where the cab can be found.
Here is the working web page:
<html>
<head id="Head1" runat="server">
<title>VLC test page</title>
<script language="javascript" type="text/javascript">
function Init() {
var obj = document.getElementById('vlc');
obj.playlist.clear();
obj.playlist.add('rtsp://192.168.1.228:554/camera1000091?live'); // replace entry 0
obj.playlist.play();
}
</script>
</head>
<body onload="javascript:Init();" style="background: transparent;">
<object
classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="vlc.cab"
align="middle"
height="226"
id="vlc">
<param name="Src" value="rtsp://192.168.1.228:554/camera1000091?live" />
<param name="Enabled" value="1" />
<param name="AutoPlay" value="True" />
</object>
</body>
</html>
Now, if I change the codebase tag to something like:
codebase="http://files.wrensolutions.com/vlc.cab"
nothing happens on the page. Any ideas why this works locally but not from the server?
Thanks,
Dexter