VLC Firefox plugin not loading...

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

VLC Firefox plugin not loading...

Postby jimyoung182 » 27 Oct 2009 11:45

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

Lotesdelere
Cone Master
Cone Master
Posts: 9967
Joined: 08 Sep 2006 04:39
Location: Europe

Re: VLC Firefox plugin not loading...

Postby Lotesdelere » 27 Oct 2009 12:32

Which version of VLC are you using ?
And have you used the installer or the 7zip/ZIP package ?

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 27 Oct 2009 12:51

Thanks for your response.

I used the windows installer, VLC 1.0.2

Best

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Firefox plugin not loading...

Postby VLC_help » 27 Oct 2009 15:21

Does about:plugins show the VLC plugin in Firefox?

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 27 Oct 2009 16:20

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

CarpeDiem
Blank Cone
Blank Cone
Posts: 11
Joined: 31 Oct 2007 07:36
VLC version: 2.0.4
Operating System: Windows 7 x64 SP1

Re: VLC Firefox plugin not loading...

Postby CarpeDiem » 28 Oct 2009 10:40

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".

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Firefox plugin not loading...

Postby VLC_help » 28 Oct 2009 12:06

CarpeDiem: you also wrote the registry key so that VLC plugin can find VLC directory?

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 28 Oct 2009 12:45

can you give me information on the registry key so i can confirm it is set properly by the installer?

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 28 Oct 2009 15:32

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!!

CarpeDiem
Blank Cone
Blank Cone
Posts: 11
Joined: 31 Oct 2007 07:36
VLC version: 2.0.4
Operating System: Windows 7 x64 SP1

Re: VLC Firefox plugin not loading...

Postby CarpeDiem » 28 Oct 2009 19:57

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"

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Firefox plugin not loading...

Postby VLC_help » 29 Oct 2009 13:01

InstallDir, that is what VLC plugin will seek from registry.

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 29 Oct 2009 16:10

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

CarpeDiem
Blank Cone
Blank Cone
Posts: 11
Joined: 31 Oct 2007 07:36
VLC version: 2.0.4
Operating System: Windows 7 x64 SP1

Re: VLC Firefox plugin not loading...

Postby CarpeDiem » 29 Oct 2009 17:13

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".

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Firefox plugin not loading...

Postby VLC_help » 30 Oct 2009 20:36

The location might change a little on different machines, but IIRC it was HKEY_LOCAL_MACHINE\Software\VideoLAN\VLC

CarpeDiem
Blank Cone
Blank Cone
Posts: 11
Joined: 31 Oct 2007 07:36
VLC version: 2.0.4
Operating System: Windows 7 x64 SP1

Re: VLC Firefox plugin not loading...

Postby CarpeDiem » 31 Oct 2009 18:13

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"

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 02 Nov 2009 12:00

is our language number working? is it non-standard?

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

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Firefox plugin not loading...

Postby VLC_help » 02 Nov 2009 13:36

If VLC player can run in your system, then the plugin should also work.

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 02 Nov 2009 15:56

vlc runs just fine, as I outlined in my previous posts . Do you have any ideas for further debugging?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Firefox plugin not loading...

Postby VLC_help » 03 Nov 2009 16:26

Checking InstallDir and about:plugins are only easy methods I know to check if everything is OK.

jimyoung182
New Cone
New Cone
Posts: 9
Joined: 27 Oct 2009 11:41

Re: VLC Firefox plugin not loading...

Postby jimyoung182 » 04 Nov 2009 00:44

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

CarpeDiem
Blank Cone
Blank Cone
Posts: 11
Joined: 31 Oct 2007 07:36
VLC version: 2.0.4
Operating System: Windows 7 x64 SP1

Re: VLC Firefox plugin not loading...

Postby CarpeDiem » 04 Nov 2009 05:46

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.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: VLC Firefox plugin not loading...

Postby VLC_help » 04 Nov 2009 12:35

npvlc.dll doesn't need vlc.exe

arachnaut
New Cone
New Cone
Posts: 1
Joined: 11 Nov 2009 23:20

Re: VLC Firefox plugin not loading...

Postby arachnaut » 11 Nov 2009 23:26

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.

sohailisonline
New Cone
New Cone
Posts: 1
Joined: 22 Oct 2010 14:37

Re: VLC Firefox plugin not loading...

Postby sohailisonline » 22 Oct 2010 14:55

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?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests