Skip to content

Commit 1645f06

Browse files
CzarekCzarek
authored andcommitted
Updated the wxpython.py examples on Linux, plugins are enabled
by default, the Flash plugin seems to be running stable in CEF 3.
1 parent 394a0e0 commit 1645f06

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

cefpython/cef3/linux/binaries_32bit/wxpython.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ def __init__(self):
9999
# otherwise /home/some will be replaced as http://home/some
100100
self.browser = cefpython.CreateBrowserSync(
101101
windowInfo,
102-
# Flash will crash app in CEF 1 on Linux, setting
103-
# plugins_disabled to True.
104-
browserSettings={"plugins_disabled": True},
102+
# If there are problems with Flash you can disable it here,
103+
# by disabling all plugins.
104+
browserSettings={"plugins_disabled": False},
105105
navigateUrl="file://"+GetApplicationPath("wxpython.html"))
106106

107107
self.Bind(wx.EVT_CLOSE, self.OnClose)

cefpython/cef3/linux/binaries_64bit/wxpython.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ def __init__(self):
9999
# otherwise /home/some will be replaced as http://home/some
100100
self.browser = cefpython.CreateBrowserSync(
101101
windowInfo,
102-
# Flash will crash app in CEF 1 on Linux, setting
103-
# plugins_disabled to True.
104-
browserSettings={"plugins_disabled": True},
102+
# If there are problems with Flash you can disable it here,
103+
# by disabling all plugins.
104+
browserSettings={"plugins_disabled": False},
105105
navigateUrl="file://"+GetApplicationPath("wxpython.html"))
106106

107107
self.Bind(wx.EVT_CLOSE, self.OnClose)

0 commit comments

Comments
 (0)