[Gambas-user] How to make WebView/WebKit work with plugins?

Gianluigi bagonergi at gmail.com
Thu Feb 8 22:03:24 CET 2018


Hi Lee,
it also works here as suggested by Ingo.
I changed with the components gb.gui.qt and gb.gui.qt.webkit

Regards
Gianluigi

[System]
Gambas=3.10.90 eff768b (master)
OperatingSystem=Linux
Kernel=4.4.0-112-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.3 LTS
Desktop=UNITY
Theme=Cleanlooks
Language=it_IT.UTF-8
Memory=15975M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.803.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_IM_MODULE=xim
COMPIZ_BIN_PATH=/usr/bin/
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-tmEK4eLKT2
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GDM_LANG=it
GIO_LAUNCHED_DESKTOP_FILE=/home/<hostname>/.local/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=16676
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/home/<hostname>/.gnupg/S.gpg-agent:0:1
GTK2_MODULES=overlay-scrollbar
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge:unity-gtk-module
HOME=/home/<hostname>
IM_CONFIG_PHASE=1
INSTANCE=
JOB=unity-settings-daemon
LANG=it_IT.UTF-8
LANGUAGE=it:en
LC_ADDRESS=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_PAPER=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LOGNAME=<hostname>
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PAPERSIZE=a4
PATH=/home/<hostname>/bin:/home/<hostname>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION=ubuntu
SESSIONTYPE=gnome-session
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1447,unix/<hostname>:/tmp/.ICE-unix/1447
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
UPSTART_EVENTS=xsession started
UPSTART_INSTANCE=
UPSTART_JOB=unity7
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1208
USER=<hostname>
XAUTHORITY=/home/<hostname>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<hostname>
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=ibus

2018-02-08 20:57 GMT+01:00 T Lee Davidson <t.lee.davidson at gmail.com>:

> On 02/08/2018 02:49 PM, Ingo wrote:
> > Am 08.02.2018 um 20:32 schrieb T Lee Davidson:
> >> On 02/07/2018 12:51 PM, T Lee Davidson wrote:
> >>> I'm trying to create an app that will play online audio media through
> WebView, but the media won't play. I even tried playing a
> >>> YouTube video, and that doesn't play either.
> >>>
> >>> When playing the audio with Seamonkey, my audio mixer shows that "ALSA
> plug-in [plugin-container]: ALSA Playback" is being used.
> >>> Youtube videos in the browser use the CubebUtils plug-in.
> >>>
> >>> WebView/WebKit doesn't appear to load any plug-ins.
> >>>
> >>> Any idea what I need to do to make this work?
> >>>
> >>>
> >> Could someone please try this on their machine to see if it might just
> be my system configuration?
> >>
> >>
> >>
> > Hi Lee,
> > it works on my installation.
> > But I had to do a little fix.
> > Disable qt5 and enable gb.qt4 and gb.qt4.webkit instead.
> >
> > Regards
> > Ingo
> >
>
> Thank you for that, Ingo.
>
> Unfortunately, it doesn't work for me even using Qt4. But, at least now I
> know it's probably a local issue.
>
>
> --
> Lee
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180208/9ca5e2b7/attachment.html>


More information about the User mailing list