Open AdrienLemaire opened 4 years ago
Solved. I broke youtube when I set a user-agent to resolve #601
Replacing my user-agent with the one you shared over there made Youtube work again
- set user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
+ set user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Safari/605.1.15
Or not :(
I can now browse youtube, but no luck playing a video:
Removing the user-agent doesn't solve the issue, but I didn't have that problem a couple weeks ago
@AdrienLemaire Youtube works fine for me. My User-Agent is actually set to :set user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Safari/605.1.15 vimb/3.6.0-12-ga212b51
. Do you use some adblocking?
@fanglingsu thanks for the reply. Using your user-agent didn't help. It's funny that you mention adblocking, because it's when I tried setting up wyebadblock that I realized Youtube was broken. I did remove the adblock.so and verified that the issue persisted before creating this issue.
Here are the errors thrown by vimb:
(vimb:28477): Gdk-WARNING **: 09:15:15.842: ../gtk/gdk/x11/gdkwindow-x11.c:5633 drawable is not a native X11 window
(WebKitWebProcess:28500): GLib-GObject-CRITICAL **: 09:15:19.112: g_object_set: assertion 'G_IS_OBJECT (object)' failed
(WebKitWebProcess:28500): GLib-GObject-CRITICAL **: 09:15:26.213: g_object_set: assertion 'G_IS_OBJECT (object)' failed
I believe these errors have always been thrown, even when I could watch youtube, so it might not be related.
I'm sharing this because you specified X11
in your user-agent, when I'm actually under wayland (sway wm). But again, I had not problem watching youtube on vimb under wayland 2 weeks agol.
Using vimb 3.6.0-1 built on January 7th. Using webkit2gtk 2.26.4-1built on February 14th. Tried downgrading webkit2gtk to 2.26.3-1 then 2.26.2-2, without success.
I'm out of ideas ^^'
@AdrienLemaire Have you also tried a more recent webkit version. https://webkitgtk.org/2020/02/27/webkitgtk2.27.91-released.html Mentions some fixes in realtion with google services.
Currently on webkit2gtk 2.28.0-3
$ vimb --bug-info
Version: 3.6.0
WebKit compile: 2.26.2
WebKit run: 2.28.0
GTK compile: 3.24.13
GTK run: 3.24.14
libsoup compile: 2.68.3
libsoup run: 2.70.0
Extension dir: /usr/lib/vimb
@AdrienLemaire I can't reproduce but I think it is more a gstreamer or gst-.. issue it might be worth to check if these packages where updated.
This issue has been automatically marked as stale because it has not had activity within the last 60 days.
$ vimb --bug-info Version: 3.6.0 WebKit compile: 2.26.2 WebKit run: 2.26.4 GTK compile: 3.24.13 GTK run: 3.24.14 libsoup compile: 2.68.3 libsoup run: 2.68.4 Extension dir: /usr/lib/vimb
Youtube worked fine for a while, but suddenly won't load anymore
I do not have any problem with Youtube on Firefox, and when I look at the network requests there, I couldn't find any call to these sourcemap and map files.