Opened 12 years ago

Last modified 11 years ago

#3410 closed defect

Browse should enable plugins — at Version 6

Reported by: manuq Owned by: manuq
Priority: Unspecified by Maintainer Milestone:
Component: Browse Version: Git as of bugdate
Severity: Unspecified Keywords: 12.1.0, upstream
Cc: erikos Distribution/OS: OLPC
Bug Status: Unconfirmed

Description (last modified by manuq)

WebKitGTK+ settings [1] "enable-plugins" and "enable-java-applet" have default value TRUE, so plugins should work out of the box.

UPDATE: the following is false, see comment 4 below.

However, a simple test (attached) shows that this is not the case at least for the Python bindings. Plugins do not work by default, and setting "enable-plugins" to False makes Flash work. So this may be a bug in pygobject, inverting the booleans.

[1] http://webkitgtk.org/reference/webkitgtk/unstable/WebKitWebSettings.html#WebKitWebSettings--enable-java-applet

Change History (8)

Changed 12 years ago by manuq

Changed 12 years ago by manuq

comment:1 follow-up: Changed 12 years ago by manuq

Gonzalo suggested csotts's preloading hack as a workaround. We can either add a workaround, or wait for WebKit2, as the fix is almost there for landing upstream.

comment:2 in reply to: ↑ 1 Changed 12 years ago by manuq

Sorry previous comment was for #3411.

comment:3 Changed 12 years ago by manuq

Also in Epiphany, if I uncheck "Enable plugins" in Preferences, only then I can see plugins.

Tested in F17 with webkitgtk3 1.8.0, and in F16 with webkitgtk3 1.6.1 .

comment:4 Changed 12 years ago by manuq

Sorry, I've been fooled by the html5 video in youtube, the interface mimics flash quite good now. The hypothesis of the inverted functionality in "enable-plugins" should be dropped.

The right page to test for Flash is: http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html

comment:5 Changed 12 years ago by manuq

This piece of Python code will show the plugins that are available in the system for WebKit:

from gi.repository import WebKit
db = WebKit.WebPluginDatabase()
for p in db.get_plugins():
    print p.get_name(), p.get_path()

comment:6 Changed 12 years ago by manuq

  • Description modified (diff)
Note: See TracTickets for help on using tickets.