[Webkit-unassigned] [Bug 24905] New: Plugin handling via mime type detection differs depending on plugin location

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 27 17:27:14 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24905

           Summary: Plugin handling via mime type detection differs
                    depending on plugin location
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
               URL: http://rentzsch.lighthouseapp.com/projects/24342/tickets
                    /5-cnncom-videos-aint-workin
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simX_other at mac.com


I've been trying to track down a bug with the ClickToFlash WebKit plugin, and
it seems to point to a WebKit problem.

When ClickToFlash is installed in the global /Library/Internet Plug-Ins/
folder, the CNN video site ( http://cnn.com/video/ ) seems to work perfectly
with ClickToFlash's default settings (note, these are the default settings of
the latest source code which can be retrieved from github here:
http://github.com/rentzsch/clicktoflash/tree/master ).

However, when the ClickToFlash plug-in is installed in ~/Library/Interent
Plug-Ins/ — that is, inside the user's home folder instead of the global
Internet Plug-Ins folder — the CNN video site does not work with ClickToFlash
installed.

I've dug a bit into the source of the CNN video site and it seems that it is
doing some detection on which plugins are installed.  The actual error that
CNN's JavaScript code generates is the following:

PlugInDisabledError: Error Type: PlugInDisabledError
Occured While: Validating native player plugin.
Error Text: The Flash PlugIn/ActiveX Player is disabled or not associated with
the "application/x-shockwave-flash" MIME type. FATAL ERROR CODE: 2000: Plugin
Not Found (fatal error)

Both ClickToFlash and the Flash plugin register for the
"application/x-shockwave-flash" MIME type, but ClickToFlash takes precedence
over the stock Flash plugin and loads Flash content into its views.  However,
due to this possible WebKit bug, WebKit reports different MIME type
associations for the Flash plugin when you simply move it to the location
inside the user's home folder, and therefore causes the CNN video website to
only work when the plug-in is installed in the global plug-ins folder.

Any insight into why this might be happening and whether it really is a WebKit
bug or not?

(This specific ClickToFlash bug can be tracked here:
http://rentzsch.lighthouseapp.com/projects/24342/tickets/5-cnncom-videos-aint-workin
)


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list