Below are resolved issues using Yad on Debian based linux with gtk / gnome (Ubuntu) desktops

 

===NO VIDEO===

 

Issue # 1 - yad --html  --browser --uri="/path/video.mp4"  # Plays audio only and video is not shown.


Resolution:  Install sudo apt-get install gstreamer1.0-libav first and then remaining in order shown and check issue is fixed after installing each file in order shown.

 


sudo apt-get install gstreamer1.0-plugins-good

sudo apt-get install gstreamer1.0-libav

sudo apt-get install gstreamer1.0-alsa
sudo apt-get install gstreamer1.0-pulseaudio
sudo libgl1-mesa-dri

 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
issue #2 - WebKit wasn't able to find a WebVTT encoder. Subtitles handling will be degraded unless gst-plugins-bad is installed.
 
Resolution:

sudo apt install gstreamer1.0-plugins-bad

 
issue #3 - yad will not compile with --sourceview option during compile process.
 
Resolution:

sudo apt-get install libgtksourceview-3.0-1

sudo apt-get install libgtksourceview-3.0-common

sudo apt-get install libgtksourceview-3.0-dev

 
issue #4 -  yad --html --browser --uri="http://your-website-try.com" will not open.
 
Resolution:

sudo apt-get install libwebkit2gtk-4.0

sudo apt-get install libwebkit2gtk-4.0-dev

[Compile yad 12.0 with --enable-html]

autoreconf -ivf && intltoolize -> ./configure --enable-html --enable-sourceview -> make -> make install -> gtk-update-icon-cache

-> exit

 
issue #5 -  Unable to locate package libgtksourceview-3.0-dev 
 
Resolution:

add this to the bottom of /etc/apt/sources.list

deb http://deb.debian.org/debian buster-backports main
sudo atp-get update

Then install: sudo apt-get install libgtksourceview-3.0-dev

 
issue #6 -  Sparkylinux 7 comes with Yad 12.x with Webkit built in (AWESOME !!)
                  2 issues concerning executing and seeing mp4 video.
 
Issue 6A: mp4 will not execute via yad script - error= no xapp package

Resolution:


sudo apt-get install libxapp-gtk3-module



Issue 6B: mp4 will not display via yad script (same error as previouse verision)

Resolution:

sudo apt-get install gstreamer1.0-libav

 
 

===yad COMPILE ERROR===

 

Issue # 7 -warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library


Resolution:  Install libglib2.0-dev

 


sudo apt-get install -y libglib2.0-dev libgtk-3-dev

 

 
** (if comment is not in file /etc/default/grub, then just add it under GRUB_DISABLE_LINUX_UUID="false")
 

Issue # 9 -  Chromium fails to load with error:

libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed

 Resolution:  EReinstall intel video drivers

 
sudo apt-get install --reinstall intel-media-va-driver:amd64

sudo apt-get install --reinstall $(dpkg -l | grep ^ii | grep -i intel | awk '{print $2}')
 
 

Issue # 10 -  yad will not display html page, xapp-gtk3-module not loading  | VM - Virtualbox

xapp error: failed to load xapp-gtk3-moduled | libEGL warning

 Resolution:  Install below packages

sudo apt install xapp-sn-watcher libxapp-gtk3-module