Page 1 of 1

VLC Firefox plugin not loading...

Posted: 27 Oct 2009 11:45
by jimyoung182
Running Firefox 3.5.3 on windows 7 professional

i installed vlc, it works fine as a standalonep layer. when I try to load a file in my browser, say, a .wmv, the page stays blank (white) and nothing happens. no frame, text, nothing. When I use vlc test sites (.e.g, http://altair.videolan.org/~dionoea/vlc ... height=240) it is also blank -- but It still seems to allocate the proper "blank" space on the page.

I have another laptop with the /exact/ same windows and firefox, and the vlc plugin works fine.

what can I do about this? Where can I look for error codes / logs. etc. I have no idea how to approach this as a debugging task... please help!!

Jim

Re: VLC Firefox plugin not loading...

Posted: 27 Oct 2009 12:32
by Lotesdelere
Which version of VLC are you using ?
And have you used the installer or the 7zip/ZIP package ?

Re: VLC Firefox plugin not loading...

Posted: 27 Oct 2009 12:51
by jimyoung182
Thanks for your response.

I used the windows installer, VLC 1.0.2

Best

Re: VLC Firefox plugin not loading...

Posted: 27 Oct 2009 15:21
by VLC_help
Does about:plugins show the VLC plugin in Firefox?

Re: VLC Firefox plugin not loading...

Posted: 27 Oct 2009 16:20
by jimyoung182
great idea, thanks!

it does:

VLC Multimedia Plug-in

ファイル名: npvlc.dll
Version 1.0.2, copyright 1996-2009 The VideoLAN Team
http://www.videolan.org/

MIME タイプ ファイルの種類 拡張子 有効
audio/mpeg MPEG audio mp2,mp3,mpga,mpega 有効
audio/x-mpeg MPEG audio mp2,mp3,mpga,mpega 有効
video/mpeg MPEG video mpg,mpeg,mpe 有効
video/x-mpeg MPEG video mpg,mpeg,mpe 有効
video/mpeg-system MPEG video mpg,mpeg,vob 有効
video/x-mpeg-system MPEG video mpg,mpeg,vob 有効
video/mp4 MPEG-4 video mp4,mpg4 有効
audio/mp4 MPEG-4 audio mp4,mpg4 有効
application/mpeg4-iod MPEG-4 video mp4,mpg4 有効
application/mpeg4-muxcodetable MPEG-4 video mp4,mpg4 有効
video/x-msvideo AVI video avi 有効
video/quicktime QuickTime video mov,qt 有効
application/x-ogg Ogg stream ogg 有効
application/ogg Ogg stream ogg 有効
application/x-vlc-plugin VLC plug-in vlc 有効
video/x-ms-asf-plugin Windows Media video asf,asx 有効
video/x-ms-asf Windows Media video asf,asx 有効
application/x-mplayer2 Windows Media plug-in 有効
video/x-ms-wmv Windows Media video wmv 有効
application/x-google-vlc-plugin Google VLC plug-in 有効
audio/wav WAV audio wav 有効
audio/x-wav WAV audio wav 有効
audio/3gpp 3GPP audio 3gp,3gpp 有効
video/3gpp 3GPP video 3gp,3gpp 有効
audio/3gpp2 3GPP2 audio 3g2,3gpp2 有効
video/3gpp2 3GPP2 video 3g2,3gpp2 有効
video/divx DivX video divx 有効
video/flv FLV video flv 有効
video/x-flv FLV video flv 有効
video/x-matroska Matroska video mkv 有効
audio/x-matroska Matroska audio mka 有効
application/xspf+xml Playlist xspf xspf 有効
audio/x-m4a MPEG-4 audio m4a 有効
audio/x-mpegurl Playlist M3U m3u 有効
audio/x-ms-wma Windows Media Audio

Re: VLC Firefox plugin not loading...

Posted: 28 Oct 2009 10:40
by CarpeDiem
I have the same problem.

Windows Vista x64 SP2
VLC 1.0.2, 7-Zip version (extracted to C:\Program Files (x86)\vlc-1.0.2)
Firefox 3.5.4 (npvlc.dll and npvlc.dll.manifest copied to C:\Program Files (x86)\Mozilla Firefox\plugins)
The plug-in shows under Tools > Add-ons > Plugins and Tools > Options > Applications.

There's nothing where the plug-in content should be. On the demo page linked above, clicking the Play and Fullscreen buttons produces these errors in the Error Console: "document.video1.play is not a function" and "document.video1.fullscreen is not a function".

Re: VLC Firefox plugin not loading...

Posted: 28 Oct 2009 12:06
by VLC_help
CarpeDiem: you also wrote the registry key so that VLC plugin can find VLC directory?

Re: VLC Firefox plugin not loading...

Posted: 28 Oct 2009 12:45
by jimyoung182
can you give me information on the registry key so i can confirm it is set properly by the installer?

Re: VLC Firefox plugin not loading...

Posted: 28 Oct 2009 15:32
by jimyoung182
I have confirmed that my dlls are in the correct firefox folder.

the plugin is shown under the Tools -> addons ... etc menu

I have the exact same error message in the firefox error console as carpe diem

I am running 32bit windows


Thanks!!

Re: VLC Firefox plugin not loading...

Posted: 28 Oct 2009 19:57
by CarpeDiem
CarpeDiem: you also wrote the registry key so that VLC plugin can find VLC directory?
I had only copied the files, according to your documentation at http://www.videolan.org/doc/play-howto/ ... l#id310965:
Windows

Quit Firefox or Mozilla

Copy the two files in VLC_Installation_folder\mozilla (usually C:\Program Files\VideoLAN\VLC\mozilla) to your mozilla plugins directory (Usually C:\Program Files\Mozilla\plugins or C:\Program Files\Mozilla Firefox\plugins).

Restart Firefox or Mozilla
If that's not the correct installation procedure, please let me know what registry keys I have to write (and please update the documentation). I've tried deleting the files from the Firefox plug-ins folder and adding the following to the registry, but it made no difference. I went to about:plugins and verified that the plug-in is loaded from \mozilla under the VLC folder.

Code: Select all

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins\@videolan.org/vlc,version=1.0.2] "Description"="VLC Multimedia Plugin" "Path"="C:\\Program Files (x86)\\vlc-1.0.2\\mozilla\\npvlc.dll" "ProductName"="VLC media player" "Vendor"="VideoLAN" "Version"="1.0.2"

Re: VLC Firefox plugin not loading...

Posted: 29 Oct 2009 13:01
by VLC_help
InstallDir, that is what VLC plugin will seek from registry.

Re: VLC Firefox plugin not loading...

Posted: 29 Oct 2009 16:10
by jimyoung182
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC]
"InstallDir"="C:\\Program Files\\VideoLAN\\VLC"
"Version"="1.0.2"
@="C:\\Program Files\\VideoLAN\\VLC\\vlc.exe"
"Language"="1033"

--

I am fully willing to help debug this problem if perhaps you could give me some basic tools to help? such as a logging-enabled dll or so forth.

best

Jim

Re: VLC Firefox plugin not loading...

Posted: 29 Oct 2009 17:13
by CarpeDiem
InstallDir, that is what VLC plugin will seek from registry.
And where am I supposed to put that? Adding it to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins\@videolan.org/vlc,version=1.0.2 made no difference.

I've also tried adding the following.

Code: Select all

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VideoLAN] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VideoLAN\VLC] @="C:\\Program Files (x86)\\vlc-1.0.2\\vlc.exe" "InstallDir"="C:\\Program Files (x86)\\vlc-1.0.2" "Language"="1033" "Version"="1.0.2"
I've tried the installer version in Windows XP SP2 (32-bit) and it doesn't work either. I think the plug-in is just broken. The only difference is that on the HTML test pages instead of a blank space, there's a black square with white text in the middle that says "Waiting for video".

Re: VLC Firefox plugin not loading...

Posted: 30 Oct 2009 20:36
by VLC_help
The location might change a little on different machines, but IIRC it was HKEY_LOCAL_MACHINE\Software\VideoLAN\VLC

Re: VLC Firefox plugin not loading...

Posted: 31 Oct 2009 18:13
by CarpeDiem
I'm fairly sure in my case HKLM\Software is for 64-bit applications. I've added the key anyway and it didn't help.

Code: Select all

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN] [HKEY_LOCAL_MACHINE\SOFTWARE\VideoLAN\VLC] "InstallDir"="C:\\Program Files (x86)\\vlc-1.0.2" "Version"="1.0.2" @="C:\\Program Files (x86)\\vlc-1.0.2\\vlc.exe" "Language"="1033"

Re: VLC Firefox plugin not loading...

Posted: 02 Nov 2009 12:00
by jimyoung182
is our language number working? is it non-standard?

im running my system as Japanese, so i wonder if that changed anything.

Re: VLC Firefox plugin not loading...

Posted: 02 Nov 2009 13:36
by VLC_help
If VLC player can run in your system, then the plugin should also work.

Re: VLC Firefox plugin not loading...

Posted: 02 Nov 2009 15:56
by jimyoung182
vlc runs just fine, as I outlined in my previous posts . Do you have any ideas for further debugging?

Re: VLC Firefox plugin not loading...

Posted: 03 Nov 2009 16:26
by VLC_help
Checking InstallDir and about:plugins are only easy methods I know to check if everything is OK.

Re: VLC Firefox plugin not loading...

Posted: 04 Nov 2009 00:44
by jimyoung182
Im a developer so I dont mind trying some of the more advanced options. for example, using a logging-enabled dll, or, building my own plugin locally. Id just rather start with pointers than working toward a wrong direction

Re: VLC Firefox plugin not loading...

Posted: 04 Nov 2009 05:46
by CarpeDiem
Jim, have a look at the nightly builds. I noticed some debug builds over there.

My registry keys were correct. It turns out the DLL has to be in the same folder as the EXE. So not only does the 7-Zip version have the plug-in in the wrong folder (vlc-version\mozilla) but the instructions also incorrectly say to copy it to the Firefox plug-ins folder, which simply doesn't work.

These are the required registry keys for my system (again, Vista x64). The first one tells Firefox where to find the plug-in, and the second one tells the plug-in where to find the executable.

Code: Select all

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins\@videolan.org/vlc,version=1.0.3] "Description"="VLC Multimedia Plugin" "Path"="C:\\Program Files (x86)\\vlc-1.0.3\\mozilla\\npvlc.dll" "Product"="VLC media player" "Vendor"="VideoLAN" "Version"="1.0.3"

Code: Select all

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VideoLAN] [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VideoLAN\VLC] "InstallDir"="C:\\Program Files (x86)\\vlc-1.0.3" "Version"="1.0.3" @="C:\\Program Files (x86)\\vlc-1.0.3\\vlc.exe" "Language"="1033"
Even so, the plug-in loads but it doesn't work right. And I know it's not because of any of my settings, because I tested with the installer version and I chose to clear the old preferences when installing. The "download file" links work, but not mmsh, rtsp, http, or worst of all, Apple trailers. The latter is the only one I actually care about. I tried adding a Windows Firewall exception but it made no difference (it was set to prompt me if blocking anyway). I've also tried the latest trunk build but it was worse: there was just a black frame where the video was supposed to be and Firefox froze every time.

Re: VLC Firefox plugin not loading...

Posted: 04 Nov 2009 12:35
by VLC_help
npvlc.dll doesn't need vlc.exe

Re: VLC Firefox plugin not loading...

Posted: 11 Nov 2009 23:26
by arachnaut
I also encountered this problem.

What worked for me was uninstalling Orbit. There was a new version announced recently and I just installed it a few days ago.

I uninstalled that and used an earlier version of Orbit. Orbit 2.71 works for me and the VLC plug-in.

Re: VLC Firefox plugin not loading...

Posted: 22 Oct 2010 14:55
by sohailisonline
Hi VLC_help,

I am also facing this same error & trying to resolve this issue from previous 5-6 hours. I am using Firefox v3.5.13, 32 bit windows XP, VLC player 1.1.4 & VLC firefox plugin v 1.0.2.
I have checked all the possibilities discussed in above posts. VLC firefox VLC plugin shown on the Add-ons list, desktop VLC player also working fine but does not work on the web. VLC plugin also shown on about:plugins. I have also checked registry every thing is okay.

From http://wiki.videolan.org/Documentation:WebPlugin page, I am trying to run Example 1 but it gives me javascript error i.e. document.video1.play() is not function.

Can you please help me?