Closed Bug 357876 Opened 18 years ago Closed 18 years ago

Add to installer registering of seamonkey.exe in registry for Windows Media Player

Categories

(SeaMonkey :: Installer, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 193883

People

(Reporter: lemiel, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 Mnenhy/0.7.4.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 Mnenhy/0.7.4.0

SeaMonkey does not play audio/video clips embeded or streamed on websites in Windows systems.
Missing registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\ShimInclusionList\seamonkey.exe]

Something like this I think should help (found in Firefox installer):

if(!restrictedAccess) {
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
registerProgramFolderKey(winreg, fFolderPrograms);

// This is so that Windows Media Player works with us
var subkey = "SOFTWARE\\Microsoft\\MediaPlayer\\ShimInclusionList\\seamonkey.exe";
winreg.createKey(subkey, "");
}

Possible to check if it works on Polish National Radio website, eg. Program3 like in steps.
But I am not sure why it is not working when SeaMonkey is opened by click on link in another application. When SeaMonkey is started manually everything works good.

Reproducible: Always

Steps to Reproduce:
Open website:
http://www2.polskieradio.pl/sluchaj/play.aspx?p=i3

Actual Results:  
Controls for media playing not works.

Expected Results:  
Controls for media playing works.
Dupe of Bug 193883?
Wild guess:
Would copying lines 170-172 from browser/installer/windows/ab-CD.jst
at line 173 of xpinstall/packager/windows/browser.jst be enough?
The lines of code should be probably in the kind of place as in Firefox.
So i would put it into install.js of BROWSER.XPI of the Windows
Installer by:

find:

    if(!restrictedAccess)
    {
      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
      registerProgramFolderKey(winreg, fFolderPath);
    }


replace with:

    if(!restrictedAccess)
    {
      winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
      registerProgramFolderKey(winreg, fFolderPath);
      // This is so that Windows Media Player works with us
      var subkey = 	
"SOFTWARE\\Microsoft\\MediaPlayer\\ShimInclusionList\\seamonkey.exe";
      winreg.createKey(subkey, "");
    }


I've tested this and this works without problems with the latest 1.1b
candidates. The seamonkey.exe gots registered and WMP10 works fine in
SeaMonkey.

*** This bug has been marked as a duplicate of 193883 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE

(In reply to Rafal Likus from comment #0)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL;
rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 Mnenhy/0.7.4.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL;
rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 Mnenhy/0.7.4.0

SeaMonkey does not play audio/video clips embeded or streamed on websites in
Windows systems.
Missing registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\ShimInclusionList\seamonke
y.exe]

Something like this I think should help (found in Firefox installer):

if(!restrictedAccess) {
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
registerProgramFolderKey(winreg, fFolderPrograms);

// This is so that Windows Media Player works with us
var subkey =
"SOFTWARE\Microsoft\MediaPlayer\ShimInclusionList\seamonkey.exe";
winreg.createKey(subkey, "");
}

Possible to check if it works on Polish National Radio website, eg. Program3
like in steps.
But I am not sure why it is not working when SeaMonkey is opened by click on
link in another application. When SeaMonkey is started manually everything
works good.

Reproducible: Always

Steps to Reproduce:
Open website:
http://www2.polskieradio.pl/sluchaj/play.aspx?p=i3
https://bestfreepornsites.pro
Actual Results:
Controls for media playing not works.
https://hotmyfreecams.com/
Expected Results:
Controls for media playing works.

nice bro

You need to log in before you can comment on or make changes to this bug.