Closed Bug 402817 Opened 18 years ago Closed 15 years ago

QT is not detected through Javascript code navigator.plugins, detection failed for "QuickTime Plug-in"

Categories

(Firefox :: General, defect)

2.0 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: fierodeval, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2010-09-15])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 Build Identifier: Mozilla/5.0(Macintosh; U; PPC Mac OS X Mach-0; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 For "some" (I don't know why only "some") Mac users, detection of QuickTime plugin failed in latest Firefox 2.0.0.9. I use this code to detect QT plugin and get the version number with Firefox: if(navigator.mimeTypes && navigator.mimeTypes["video/quicktime"] && navigator.mimeTypes["video/quicktime"].enabledPlugin) { for (var i = 0; i < navigator.plugins.length; i++) { if(navigator.plugins[i].name.indexOf("QuickTime Plug-in")!=-1) { var words = navigator.plugins[i].name.split(" "); var version = words[2].split("."); } } } I have an iMac with MacOSX 10.4 / Firefox 2.0.0.9 / QT 7.3 , but I can't reproduce this problem. Anyway a lot of user report me the problem with different configurations. The example page always work with Safari in the same computer. Reproducible: Couldn't Reproduce Steps to Reproduce: 1. Enter http://www.devalvr.com/paginas/soporte/detectvr/ with MacOSX and Firefox 2. Select viewer QuickTime 3. Actual Results: You see "QT is not installed" when this bug is reproduced Expected Results: You see a QuickTime movie in the browser This problem is not reproduced in my iMac with MacOSX 10.4 / Firefox 2.0.0.9 / QT 7.3 A user report me this: MacPro OSX 10.4.10: Safari 2.0.4 OK / Firefox 2.0.0.9 does not work; G4 OSX 10.4.10: Safari 2.0.4 OK / Firefox 2.0.0.9 does not work; iBook G4 OSX 10.5: Safari 3.0.4 OK / Firefox 2.0.0.9 does not work
Version: unspecified → 2.0 Branch
I found the problem. When navigator.plugins[i].name variable is read in Javascript code, Firefox 2.0.0.9 gives this text for QT plugin: QuickTime-Plug-in 7.3 I saw this problem with English and German versions. But if I try the same code with Spanish version of Firefox 2.0.0.9 I get this plugin name for QT: QuickTime Plug-in 7.3 Opera and Safari browsers return the correct name too, and I think old Firefox versions too: QuickTime Plug-in 7.3 I think a lot of plugin detection scripts use "QuickTime Plug-in" name to detect the QT version, so it's important if Firefox returns the same string than the other browsers. Thank you!
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.8 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-09-15]
No reply, INCOMPLETE. Please retest with Firefox 3.6.10 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.