You need gstreamer-libraries for video playback, the manual lists the needed libs under “Troubleshooting” (run “manual” with ctrl-space (default) or alt-x (emacs) or : (vi-bindings))
Missed the part where you wrote “tried to clean the gstreamer cache”. But are you sure you have installed all the gst-plugins? Some youtube-videos might use the h264/x264-codec
The Nyxt project has a bug report template. Not sure if what are you facing is a bug. But I think some of the information asked by the bug report template could make it easier for me to help you. I am not an expert on Nyxt, though. I am just trying to help
If you think this could be valuable to solve your problem, please provide the following:
How you installed Nyxt (Guix pack, package manager, build from source):
Information from command copy-system-information:
If you can’t run copy-system-information, try nyxt --system-information from
a shell. It this still does not work, please provide the following:
Nyxt version (from =M-x nyxt-version= or =nyxt --version=):
Lisp implementation/version (if built from source):
Kernel name+version:
WebKitGTK+ | QtWebEngine version:
Output when started from a shell
Another good test would be installing the Ephiphany Web Browser and seeing if youtube works in your environment keeping everything else constant. That’s a way of making clear if the problem is on Nyxt or something else.
Thanks! I am not sure it is a bug yet, nothing show in the output in shell, as if no specific error, and I don’t know if there is a thing like dev tool that could help me understand what is youtube expecting that it’s not getting…
For now I have made a work around, mapping the following function to C-c p to open the video using mpv (it’s using youtube-dl under the hood and working pretty much on 90% of videos) - it’s not perfect but it’s usable.
(define-command youtube-play-current-page ()
"Watch a Youtube video with mpv"
(uiop:run-program
(list "mpv" (render-url (url(current-buffer))))))
I recently struggled with this issue, with nyxt 2.2.4. Installing gstreamer according to How to install Gstreamer on Ubuntu - LifeStyleTransfer helped. But, I have a Youtube Premium subscription, and I could only get the videos to play, when I was not logged in to Youtube premium.
I’m new to nyxt (and CL) and I’m having a similar issue. However it’s with both Youtube and Invidious. Any ideas on how I might go about debugging this?
In my OS? I have one of them installed. Not sure how useful this list will be, on Void I have gst-plugins-base1, the following are also available:
gst-libav
gst-omx
gst-plugins-bad1(-devel)
gst-plugins-base1-devel
gst-plugins-good1(-devel)
gst-plugins-ugly1
gst-editing-services(-devel)
gst123
And then a couple of other gstreamer/libgstreamer items. I installed Nyxt via Void’s package manager incidentally.