Page 1 of 1

Plug-ins not working properly

Posted: 07 Feb 2010 22:00
by bapjg
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.

Re: Plug-ins not working properly

Posted: 09 Feb 2010 13:04
by RaptorQueen
The reference to "http://downloads.videolan.org/pub/video ... /axvlc.cab" in your script gives a '404' error.

Check out what new directories and drives are avaialable and try to link to these.

The reason I say try is that I cannot get it working at all in FF.

Good luck.

Re: Plug-ins not working properly

Posted: 09 Feb 2010 15:32
by bapjg
Thanks for your suggestion RaptorQueen.

Ive spent so much time on this pb, that I think I'll just give up. Coming back to it in a few months (with new versions of FF/IE and VLC available) might make the problem go away.

Hoping....

Re: Plug-ins not working properly

Posted: 11 Feb 2010 13:28
by sbraheem
Hello,

What about trying this instead:

<embed type ="application/x-vlc-plugin" name ="video1" autoplay ="true"
loop ="true" width ="600" height ="200" version="VideoLAN.VLCPlugin.2"
target ="00.MTS"></embed>

That works for me in FF, Safari and Chrome.
Regards.

Re: Plug-ins not working properly

Posted: 16 Feb 2010 05:19
by oldStone
bapig,

Using sbraheem's code,if you use vlc.playlist.play() and vlc.playlist.togglePause() in your javascript, it should work in non-autoplay mode for play and pause. Have not found a good way to stop playing though...

regards

Re: Plug-ins not working properly

Posted: 12 Jan 2011 23:25
by asllearner
I too am having this problem.
I am running on windows vista business fully updated.
I installed first using the 7zip
then using the installer.
Using firefox 4.6.13 and opera 11
The plugin is found and appears on the plugins page
the standalone works fine
I havent checked the registry yet but suspect it is fine.
When I have just the npvlc.dll in the opera plugin folder, it tells me libvlc.dll is missing.
if I add libvlc.dll it tells me libvlccore.dll is missing.
if I add that, it tells me the plugin failed to install correctly.

here is the page I am viewing:
http://mysite.verizon.net/rdcox/archive/111910.htm
in firefox I get a black box, no sound.
if i click the direct link to the mp3 file i get a new tab with a black box. The file is playing!!!! no visuals...
any clues? Any solutions?

Re: Plug-ins not working properly

Posted: 06 Feb 2011 05:45
by 612wharfavenue
Opera isnt an option when installing the plugins. Its either IE(activex) or FF.