Page 1 of 1

The Firefox plugin doesn't work since version 0.8.4

Posted: 07 Jul 2006 21:08
by jaimono
I can't make the firefox plugin work since the latest releases of VLC. I'm trying to load an MPEG4 video stream packaged as TS in Firefox like this:

Code: Select all

<embed type="video/mpeg4" autoplay="yes" loop="yes" height="240" width="352" target="http://server.ip:1234" pluginspage="http://www.videolan.org/vlc/"/>
But It doesn't load, actually it doesn't load any kind of media. Am I doing something wrong? Or is the plugin broken?

Please, please, PLEASE don't tell me that Firefox support is over and developers will only concentrate on Windows stuff!!! :cry:

Posted: 07 Jul 2006 21:25
by alec_robertson
The firefox plugin works fine for 0.8.5 and 0.8.6 on multiple platforms, so it is possible that something is wrong with your system. Please post some details on which OS, version, whether you are compiling or installing, whether vlc works fine to play that stream...

A good test page for the plugins (mozilla and activex) is:

Code: Select all

http://altair.videolan.org/~dionoea/vlc-plugin-demo/

Posted: 07 Jul 2006 21:43
by jaimono
I'm using VLC 0.8.5 in Windows XP and Linux (Where can I get 0.8.6?), in Windows I'm using the precompiled one and in Debian Etch GNU/Linux I'm compilling it.

In both platforms the stream is loaded and played fine by VLC Player and in IE for Windows the ActiveX plugin also loads the stream but when I try to play the stream in Firefox nothing happens, in Windows it shows a white area and in Linux it shows a black area with the message: (no picture) centered.

I'm using Firefox 1.5.0.4 in both platforms.

When I try with the demo page you suggested I get the same behaviour

Posted: 07 Jul 2006 22:11
by alec_robertson
You can get 0.8.6 either from svn and compile it yourself, or from the nightly builds (http://nightlies.videolan.org) but these can be unstable as they are in constant development.

There have been some problems with autoplay in firefox not working (viewtopic.php?t=16611) but they seemed to be fixed in the latest nightlies. With autoplay off, you get the black box with "no picture" as you describe. One way to get around this is to have play/stop buttons (or links) to manually control the video.

The following html code works for me (find it also at http://web.mit.edu/alecr/www/cwf/vlc-simple.html):

Code: Select all

<embed type="application/x-vlc-plugin" name="video1" width="720" height="352" target="http/mkv://web.mit.edu/alecr/www/cwf/trailer.mkv"/> <a href="javascript:null();" onclick='document.video1.play()'>play</a>


Additional commands are covered in the vlc help page: http://www.videolan.org/doc/play-howto/ ... l#id293936. Also try that plugin test page to test that things are working in general.

Posted: 07 Jul 2006 23:13
by jaimono
As I told (maybe you didn't see it because I edited the reply) I've tried the test page and the movies don't load, not even when I press the play button, but I'll try it locally

Posted: 08 Jul 2006 00:04
by jaimono
OK Thanks a lot!!! I added a onload event to the document:

Code: Select all

<body onload="document.video1.play()" >
And it works fine now. :D