npdsplay error

Discussion of general topics about Mozilla Firefox
User avatar
jamesvtm
Posts: 7
Joined: December 12th, 2002, 6:34 am
Location: Miramar, FL
Contact:

can not create directshow player firefox 1.5

Post by jamesvtm »

same Err in both Firefox and IE. so I followed the instructions for uninstalling WMP 10 and removing traces. Booting to safe mode, reinstalling WMP 10. This fixed IE but Firefox asked for a PlugIn. So far I tried reinstalling WMP 10, but no success. (OS WinXP Home)
jvtm
User avatar
Vectorspace
Moderator
Posts: 14455
Joined: November 27th, 2003, 4:50 am
Location: Warwickshire, UK
Contact:

Post by Vectorspace »

If Firefox is asking for a plugin then when you installed WMP10, it did not include the WMP plugin. IE uses the WMP ActiveX control, which is different.

Follow the instructions here: http://forums.mozillazine.org/viewtopic.php?t=206213 - The "Windows Media Player Plugin" section will tell you how to check for and restore the missing plugin files.
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
whoopassun2
Posts: 1
Joined: December 23rd, 2005, 10:19 am
Contact:

Post by whoopassun2 »

RonRay wrote:The easiest way to cure the npdsplay Error, "Can not create DirectShow Player" problem with ALL browsers (including Firefox & Opera), is just to re-install Windows Media Player!
(I had that problem with both Opera & Firefox!)

First, download Windows Media Player 9 (or 10) from here: "http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.aspx?displang=en&qstechnology="
and save it to your hard drive. (download, - don't install.)
(I suppose XP users should install "Windows Media Player 10"... I installed version 9, because I use Win 2000 Pro and I prefer ver 9.)

Next, uninstall all Windows Media Player installations from: "Control Panel - Add/Remove Programs"
(I didn't remove the "HotFixes", because there are just too many programs that would be affected by the removal.)
After the first removal, you will be asked to "Restart your computer", but click on "No", until you have removed ALL installation, including codec/encoder installs. (Everything that pertains to Windows Media Player.)

Next, restart your computer in "Safe Mode".
(The next step 'HAS' to be done in Safe Mode...)

In Safe Mode, install Windows Media Player 9 (or 10) from the folder you saved it to during download.

Restart your computer and all browsers will play all embedded and streaming Windows Media video with no problem! :)

================================================================

Yes it works just fine, but i went an easyer route, i went to safe mode and uninstalled Windows Media Player 10 from the add remove and downloaded the new Windows Media Player 10 and then restarted to normal xp and then reinstalled Windows Media Player 10. Wham it works just fine now, all the direct shows work in Firefox 1.07 and msn with np....but still dont know it stoped working 1 day, i can assume that its due to regisrty cleaners because its has happened to me 3 times now and all after i have used registry cleaners...good luck, and thx for the advise
Boosted2
Posts: 2
Joined: January 11th, 2006, 12:53 am
Location: Va. Beach, VA
Contact:

Post by Boosted2 »

Sorry to bring this thread back, but I'm having this problem and can't seem to get it working even though following everything I've seen on the subject. I've gotten to this portion:
RonRay wrote:Next, uninstall all Windows Media Player installations from: "Control Panel - Add/Remove Programs"
(I didn't remove the "HotFixes", because there are just too many programs that would be affected by the removal.)
After the first removal, you will be asked to "Restart your computer", but click on "No", until you have removed ALL installation, including codec/encoder installs. (Everything that pertains to Windows Media Player.)
and I've rolled back Windows Media Player to version 9. I can't seem to remove it though. And even though I've rolled it back, I get this message:

Image

Any advice on this situation/problem would be GREATLY appreciated.
User avatar
Vectorspace
Moderator
Posts: 14455
Joined: November 27th, 2003, 4:50 am
Location: Warwickshire, UK
Contact:

Post by Vectorspace »

Try booting Windows in Safe Mode - if you still can't remove WMP, you need to manually delete the "C:\Program Files\Windows Media Player" folder.
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
Boosted2
Posts: 2
Joined: January 11th, 2006, 12:53 am
Location: Va. Beach, VA
Contact:

Post by Boosted2 »

Vectorspace wrote:Try booting Windows in Safe Mode - if you still can't remove WMP, you need to manually delete the "C:\Program Files\Windows Media Player" folder.
I did that (of course it was still in the recycling bin) and it gave me an error about me trying to install 9 when 10 was already installed.


Edit: And yes, I was in safe mode the whole time.
User avatar
Vectorspace
Moderator
Posts: 14455
Joined: November 27th, 2003, 4:50 am
Location: Warwickshire, UK
Contact:

Post by Vectorspace »

Then try deleting it in safe mode, but reinstalling it in normal mode.
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
User avatar
dickvl
Posts: 54164
Joined: July 18th, 2005, 3:25 am

Post by dickvl »

npdsplay.dll is one of the protected system files. If you remove it it's immediately replaced with a copy from the dllcache. If you want to use another version then you must first remove it from the dllcache.
User avatar
Vectorspace
Moderator
Posts: 14455
Joined: November 27th, 2003, 4:50 am
Location: Warwickshire, UK
Contact:

Post by Vectorspace »

This error is not a problem with npdsplay.dll itself - if it was, donwloading the file from dlldump.com and placing it directly in the Firefox plugins folder would work. It's a problem with the Windows Media Player installation itself. That's why the only known solution is to wipe it and reinstall it.
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
Timmsy
Posts: 1
Joined: January 25th, 2006, 4:40 am

My findings on the "Can not create DirectShow Player&qu

Post by Timmsy »

<XMP>
Bugged by "Can not create DirectShow Player" error?

Recently run Spybot S&D or Spy Sweeper or similar?

URLs and local Windows media files playing fine from
within Windows Media Player?

What has happened?

At some stage it is likely you came accross a windows media player
object on a web page which instructed you to download a particular
codec package in order to view the movie.

This particular codec package contained a trojan virus which your
anti-virus scanner picked up and prevented from being installed,
but not, it seems, before having renamed a particular class entry
to "NVideoCodek.Chl". At least I believe that is what has happened.

This particular class entry is associated with the Windows Media
Player OCX object and references the information used to load the
player within the browser (IE/Firefox) as an object. The DLLs
referenced are WMP.DLL and WMPLOC.DLL which from my brief examination
and scanning with VET appear to be valid WMP v10 dll's. The
WMP.DLL has a script within it which allows the invoking web page
to control just what options/controls the player presents to the
viewer when it is loaded. I believe this is the "DirectShow Player"
module.

When I recovered the entries which Spybot S&D removed (such a nice
thoughtful bit of software having a recovery feature <g>) and
reloaded the page where I was getting the error, lo and be-hold
the video played.

Now I was lucky as not all the damage was done that was intended
as I believe the codec virus thingy was intended to have the OCX
object point to the trojan rather than WMP.DLL or otherwise
infect it. So it has been safe to simply recover the entries.

Recommended (safe) solution:
1. Remove the spyware entries.
2. From Add/Remove Programs, de-install the Windows Media Player.
3. Reboot.
4. Cleanly re-install the Windows Media Player.

Optional (if you're adventurous) solution:

Firstly use this at your own risk! I take no responsibility whatsoever
for anything!

Secondly some pointers:
a) The @ prefix indicates the "default" entry for a given registry key.
b) The GUID's (long-hex-number-strings) will differ from system to
system, what is important is that the linkages made using those
strings reference/point to the correct related registry entries.
c) Run a good virus scanner over WMP.DLL and WMPLOC.DLL and maybe
while you're about it a thorough scan of the PC also.

1. Recover the spyware entries.

2. Using regedit, locate NVideoCodek.Chl, and then using the CLSID:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NVideoCodek.Chl]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\NVideoCodek.Chl\CLSID]
@="{6BF52A52-394A-11D3-B153-00C04F79FAA6}"

3. Locate the OCX invocation information and compare it to the following:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}]
@="Windows Media Player"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\Control]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\InprocServer32]
@="C:\\WINDOWS\\system32\\wmp.dll"
"ThreadingModel"="Apartment"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\Insertable]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\MiscStatus]
@="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\MiscStatus\1]
@="131473"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\ProgID]
@="WMPlayer.OCX.7"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\Programmable]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\ToolboxBitmap32]
@="C:\\WINDOWS\\system32\\wmploc.dll, 101"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\TypeLib]
@="{6BF52A50-394A-11d3-B153-00C04F79FAA6}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\Version]
@="1.0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{6BF52A52-394A-11D3-B153-00C04F79FAA6}\VersionIndependentProgID]
@="WMPlayer.OCX"

4. The ProgID entry in (3) above should point to the following:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMPlayer.OCX.7]
@="Windows Media Player"
"EditFlags"=dword:00010000

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMPlayer.OCX.7\CLSID]
@="{6BF52A52-394A-11d3-B153-00C04F79FAA6}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMPlayer.OCX.7\Insertable]

5. The TypeLib entry in (3) above points to the following:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{6BF52A50-394A-11D3-B153-00C04F79FAA6}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{6BF52A50-394A-11D3-B153-00C04F79FAA6}\1.0]
@="Windows Media Player"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{6BF52A50-394A-11D3-B153-00C04F79FAA6}\1.0\0]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{6BF52A50-394A-11D3-B153-00C04F79FAA6}\1.0\0\win32]
@="C:\\WINDOWS\\system32\\wmp.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{6BF52A50-394A-11D3-B153-00C04F79FAA6}\1.0\FLAGS]
@="0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{6BF52A50-394A-11D3-B153-00C04F79FAA6}\1.0\HELPDIR]
@="C:\\WINDOWS\\system32\\"

6. The VersionIndependentProgID in (3) above points to the following:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMPlayer.OCX]
@="Windows Media Player"
"EditFlags"=hex:00,00,01,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMPlayer.OCX\CLSID]
@="{6BF52A52-394A-11d3-B153-00C04F79FAA6}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\WMPlayer.OCX\CurVer]
@="WMPlayer.OCX.7"

7. Rename the NVideoCodek.Chl enties so that it doesn't get re-detected.

I suggest renaming it to "NVideo_Codek_Fix.Chl" or similar, or
at least live with the knowledge that it exists.

Regards, Ian.
</XMP>
arsenalwwerulz
Posts: 60
Joined: January 29th, 2006, 8:58 am
Location: London, UK

Post by arsenalwwerulz »

I get this problem with Firefox and when I use IE I get a red X in the top left hand corner.

I'm still getting the message 'Cannot create directshow player'

PS. I have also updated my players.
eroosa
Posts: 2
Joined: April 11th, 2006, 9:44 pm

WMP problem

Post by eroosa »

I tried the first fix listed by EricN1023 and it worked just fine for playing media (IE CNN clips etc..), however I also have a problem with opening up anything on E-BAY now. This problem popped up at the same time as the NPDSPLAY problem. I do not get any error code or message, I just go to ebay and am unable to open up any particular item that I want to see. I hope this problem can get fixed easily also. I really like Mozilla, but must say that I am a bit frustrated with these problems. Thanks for any assistance.
User avatar
dickvl
Posts: 54164
Joined: July 18th, 2005, 3:25 am

Post by dickvl »

Try -safe-mode to check if it's an extension that's causing it.
If it does work in -safe-mode then you have to disable the extensions one by one (Tools > Extensions : right-click and disable): you have to restart Fx after every change.
If you find the one that's causing the problem then uninstall or find an update of that extension for your version of Fx.

If that doesn't work then create a new test profile (a quick test to see if anything is wrong with your current profile):
Profile Manager: Create a New (Test) Profile (don't specify the location only the name)

As it's only purpose is to test if your current profile is causing problems: don't copy any settings from the old profile to it.

If the test profile works and you want to keep using the new profile then see this: (be careful with what you copy and check if the new profile still works)
Migrate/Copy Files to a New Profile
numbersalone
Posts: 1
Joined: April 13th, 2006, 11:13 pm
Location: boringsville (or de ghetto) OHIO
Contact:

Post by numbersalone »

do i need to boot in safe mode to uninstall wmp? cant i just download it again and install over it? will that take care of the problems??
User avatar
Vectorspace
Moderator
Posts: 14455
Joined: November 27th, 2003, 4:50 am
Location: Warwickshire, UK
Contact:

Post by Vectorspace »

^You can (and should) try that first, but I don't know if it will work.
"All things being equal, the simplest answer is usually the correct one" - Occam's Razor
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
Locked