#YouTube Videos not working in Linux appimages built from GitHub Actions

5 messages · Page 1 of 1 (latest)

left halo
#

Hello,

I'm experiencing an issue with our Tauri application, which is built using GitHub actions on an Ubuntu 20.04 environment. The problem arises when trying to play YouTube videos within the application - we're consistently encountering a "Your browser can't play this video" message.

Interestingly, when the application is built from my local desktop environment, the videos work perfectly fine. This leads me to believe that there might be some necessary packages missing in the Ubuntu build that are available on my desktop.

To attempt to resolve this, we've incorporated several additional packages into our Ubuntu builds via GitHub actions. You can find the list of added packages in this commit: https://github.com/phcode-dev/phoenix-desktop/commit/df6a162cc0e4257948cd2c55489574632ccaaadc.

Despite the size of the AppImage increasing to 189MB with these changes, the video playback issue persists.

Requesting assistance in identifying what could be causing this issue, and if there are indeed any missing packages that we need to include to enable video playback?

Thank you for your help.

Best,
Arun

hollow rivet
#

I was able to reproduce the same failing behaviour when building on a minimal installation of Ubuntu Desktop 22.04.2 without the ubuntu-restricted-extras packages. The built app would show the same message: "Your browser can't play this video". I then installed the gstreamer1.0-libav gstreamer1.0-plugins-bad packages and ran the app again (without rebuilding it) and YouTube videos play correctly. Are these packages installed on the machine you're running the app for?

#

I will test further on Ubuntu 20.04 using the experimental build on your GitHub repository (it requires libssl 1.1.1 which is not available for Ubuntu 22.04).

left halo
#

Made it work, this was the final set of all packages we needed to install in GiHub Actions