Plug-ins not working properly
Posted: 07 Feb 2010 22:00
I'm having an lot of trouble getting the plugins to work. Can any one help.
The following shows the video in IE 8.06.2001 but nothing happens in FF 3.5.7.
Here's the code :
<html>
<head><title>Demo of VLC mozilla plugin</title></head>
<body>
<OBJECT classid ="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase ="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width ="640"
height ="480"
id ="vlc" >
<param name ="Src"
value ="00.MTS">
</param>
<param name ="ShowDisplay"
value ="True">
</param>
<param name ="AutoLoop"
value ="False">
</param>
<param name ="AutoPlay"
value ="True">
</param>
</OBJECT>
<br />
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="Start()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="Stop()">
<SCRIPT>
<!--
function Start ()
{
var xx = document.vlc;
document.vlc.play();
}
function Stop ()
{
document.vlc.Stop();
}
-->
</SCRIPT>
</body>
</html>
In IE with Autoplay set, I get video and sound. But Play/stop buttons don't work (vlc object doesn't have this method).
In FF I don't get anything (not even the space reserved for the video).
I've also tried html found on various forums based on :
<embed type ="application/x-vlc-plugin"
name ="video1"
autoplay ="yes"
loop ="yes"
width ="600"
height ="200"
target ="00.MTS"
style = "width:711; height:400;">
</embed>
<br />
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="Start()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="Stop()">
Here, both IE and FF complain about method not existing, no viedeo, no sound.
Does anybody have any ideas.
Thanks in advance for any help.
The following shows the video in IE 8.06.2001 but nothing happens in FF 3.5.7.
Here's the code :
<html>
<head><title>Demo of VLC mozilla plugin</title></head>
<body>
<OBJECT classid ="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase ="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width ="640"
height ="480"
id ="vlc" >
<param name ="Src"
value ="00.MTS">
</param>
<param name ="ShowDisplay"
value ="True">
</param>
<param name ="AutoLoop"
value ="False">
</param>
<param name ="AutoPlay"
value ="True">
</param>
</OBJECT>
<br />
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="Start()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="Stop()">
<SCRIPT>
<!--
function Start ()
{
var xx = document.vlc;
document.vlc.play();
}
function Stop ()
{
document.vlc.Stop();
}
-->
</SCRIPT>
</body>
</html>
In IE with Autoplay set, I get video and sound. But Play/stop buttons don't work (vlc object doesn't have this method).
In FF I don't get anything (not even the space reserved for the video).
I've also tried html found on various forums based on :
<embed type ="application/x-vlc-plugin"
name ="video1"
autoplay ="yes"
loop ="yes"
width ="600"
height ="200"
target ="00.MTS"
style = "width:711; height:400;">
</embed>
<br />
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="Start()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="Stop()">
Here, both IE and FF complain about method not existing, no viedeo, no sound.
Does anybody have any ideas.
Thanks in advance for any help.