Page 1 of 2

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 13 Dec 2021, 07:57
by fulalas
Fixed a bug where typing / in the URL bar was activating search.

Still not possible to log in into Porteus forum :(

https://www.mediafire.com/file/6xmazad3 ... 6_64-1.xzm
(31.1 MB)

Midori 9.0 browser (WebKitGtk 2.35.1)

Posted: 15 Feb 2022, 03:28
by Rava
Do you know if the maintainers of midori plan on expanding its javascript capabilities?
I presume that is one huge issue with web sites being broken when it comes to midori…

Midori 9.0 browser (WebKitGtk 2.35.1)

Posted: 15 Feb 2022, 07:34
by fulalas
Midori has nothing to do with that. It relies 100% on Webkit engine.

Can you give me some examples?

Midori 9.0 browser (WebKitGtk 2.35.1)

Posted: 15 Feb 2022, 08:25
by Rava
fulalas wrote:
15 Feb 2022, 07:34
Can you give me some examples?
When I recall correctly, midori is unable to play any youtube videos because of lack of complete JS…
Many (maybe even all?) other video hosting sites also not work because of that.

Or has that changed and the above midori version can play yt videos?

Midori 9.0 browser (WebKitGtk 2.35.1)

Posted: 15 Feb 2022, 08:28
by fulalas
Oh, you haven't even tried it, hahaha! Go ahead ;)

Midori 9.0 browser (WebKitGtk 2.35.1)

Posted: 15 Feb 2022, 09:18
by Rava
fulalas wrote:
15 Feb 2022, 08:28
Oh, you haven't even tried it, hahaha! Go ahead ;)
I tried it with a version maybe 6 months old and it did not work.
So, I try it again…
System 5.0rc3 x86-64, XFCE 4.12, midori module from above:
Image
Looks like it's not working out of the box.
And its out of the box settings seem to have JS enabled already:
Image

Tried vimeo as well, took me a while to finally find a rated video cause all I found previously I would have to log in due to them being not rated yet (I was not looking for "sexy" on vimeo, I used one of the 3 featured channels vimeo itself promotes and finally the 2nd or 3rd video of that channel was rated) - still not able to watch it:
Image
(the above URL should have let me watch the free preview video)
Is this enough proof for you that video hosting sites are not working?

Added in 10 minutes 39 seconds:
And as contrast, here the above youtube The Tyger / Tangerine Dream video playing via Palemoon recent (29.4.4) just fine:
Image

Midori 9.0 browser (WebKitGtk 2.35.1)

Posted: 15 Feb 2022, 09:57
by fulalas
@Rava, maybe you should try in AF. Here YouTube works.

BTW, I have just updated: Midori 9.0 browser (WebKitGtk 2.34.5)

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 15 Feb 2022, 20:42
by Rava
fulalas wrote:
15 Feb 2022, 09:57
@Rava, maybe you should try in AF. Here YouTube works.
I try and report back.
fulalas wrote:
15 Feb 2022, 09:57
I have just updated: Midori 9.0 browser (WebKitGtk 2.34.5)
using a WebKitGtk 2.34.5 version, then. :) but for now I wait…
fulalas wrote:
15 Feb 2022, 09:56
EDIT: there's an issue in this module. I'm going to update it soon.
till that's fixed. :D

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 22 Nov 2022, 15:01
by Kulle
Hi fulalas,
i tried midori 9.0.
There is something very strange.
Youtube can not be accessed, I have tried it several times.
Always error message:

"Oops - https://www.youtube.com/
Something went wrong with 'https://www.youtube.com/'.

Try Again"

This is completely incomprehensible to me.
Other websites can be accessed and videos are played

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 22 Nov 2022, 15:31
by Kulle
Also other websites with videos
Same error:

"Oops - https://yandex.com/video/search?text=video
Something went wrong with 'https://yandex.com/video/search?text=video'.

Try Again"

Note: I use Porteus 5.0 Xfce

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 22 Nov 2022, 19:01
by Rava
The JS implementation of Midori is incomplete, I presume that is the reason since most video hosting sites rely heavily on JS.

Have you ever tried invidio.xamh.de e.g. https://invidio.xamh.de/search?q=loriot
They mirror yt content but also host own stuff, and usually video work even when you have JS disabled, heck, even downloads work without JS.
So my best guess is for getting videos to play using midori - go to be https://invidio.xamh.de :)

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 22 Nov 2022, 22:27
by gnintilgyes
Kulle wrote:
22 Nov 2022, 15:01
There is something very strange.
Youtube can not be accessed, I have tried it several times.
Always error message:

"Oops - https://www.youtube.com/
Something went wrong with 'https://www.youtube.com/'.

Try Again"
This might be due to Digital Rights Management crap and other things going on. Sorry about my language but it had to be said, I don't support pay-for-view and pay-for-hear these days with the price of CD's and especially vinyl, 15 years back could buy an album on CD (sometimes 2CD set) for a bit less than 20USD, cannot any longer. And some vinyl titles prices, just LOL. I don't want to know about Blue-Ray or any other hard-video format.

I made the mistake of creating an account with one of the video-sharing sites without being able, or having enough patience, to create my own video. Only that for making comments about others' videos is quite sad but the sp____rs and tr___s have to be blocked out. I visit Youtube pretty much only to watch past sport events like baseball World Series and FIFA World Cup. It was a real drag checking out some electronic music I wished to have on CD from the mid 1990's but not any longer.

I use Brave for browsing Youtube and other such fussy sites but I dislike it, I don't want to go into detail about it. :oops:

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 25 Nov 2022, 05:22
by fulalas
Guys, Midori is just a shell for WebKit, which is the one that actually renders websites. This issue on video websites was happening because I was stupid and forgot to include gst-plugins-bad-free package :D

Re-uploaded, same link.

EDIT: not sure why but loading YouTube in Midori sometimes freezes my whole machine :-O Gonna try to rebuild webkit, oh gosh...

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 25 Nov 2022, 05:51
by Rava
I renamed it into 005-midori-9.0-webkit2gtk-2.35.1-x86_64-1+gst-plugins-bad-free.xzm (005- is the prefix I use for all my browsers, be the PM, FFx, Midori or Chromium Without Gøøgle) and hope my md5sum is correct?

Code: Select all

a8a05d1f0475377d9d427a20ad18540c  005-midori-9.0-webkit2gtk-2.35.1-x86_64-1+gst-plugins-bad-free.xzm
Added in 11 minutes 43 seconds:
My system:

Code: Select all

guest@porteus:~$ cat /etc/porteus/*
001-core.xzm:20221006
002-xorg.xzm:20220723
002-xtra.xzm:20220630
003-xfce.xzm:20220925
initrd.xz:20220928
(In case you wonder, using the less recent version of 002-xorg.xzm is intentional, see here: Some tips on getting to the reason for the recent suspend crashes for details why.)

It first loads https://www.youtube.com/
Image
but then it switches to this:
Image

this is the output in the terminal I started it from:

Code: Select all

(WebKitWebProcess:12057): GStreamer-WARNING **: 06:54:24.463: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(WebKitWebProcess:12057): GStreamer-WARNING **: 06:54:24.465: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstfluidsynthmidi.so': libfluidsynth.so.3: cannot open shared object file: No such file or directory

(WebKitWebProcess:12057): GStreamer-WARNING **: 06:54:24.467: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopencv.so': libopencv_bgsegm.so.405: cannot open shared object file: No such file or directory

(WebKitWebProcess:12057): GStreamer-WARNING **: 06:54:24.468: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopenexr.so': libIlmImf-2_5.so.25: cannot open shared object file: No such file or directory

(WebKitWebProcess:12057): GStreamer-WARNING **: 06:54:24.471: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstwebrtc.so': libnice.so.10: cannot open shared object file: No such file or directory

(midori:11805): GLib-GObject-WARNING **: 06:54:25.008: ../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a value of type CairoSurface

(midori:11805): GLib-GObject-WARNING **: 06:54:25.041: ../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a value of type CairoSurface

(WebKitWebProcess:12057): GStreamer-CRITICAL **: 06:54:30.318: gst_caps_set_value: assertion 'G_IS_VALUE (value)' failed

(WebKitWebProcess:12057): GStreamer-CRITICAL **: 06:54:30.318: gst_caps_set_value: assertion 'G_IS_VALUE (value)' failed

(midori:11805): GLib-GObject-WARNING **: 06:54:31.829: ../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a value of type CairoSurface

(WebKitWebProcess:12214): GStreamer-WARNING **: 06:54:58.689: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(WebKitWebProcess:12214): GStreamer-WARNING **: 06:54:58.690: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstfluidsynthmidi.so': libfluidsynth.so.3: cannot open shared object file: No such file or directory

(WebKitWebProcess:12214): GStreamer-WARNING **: 06:54:58.693: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopencv.so': libopencv_bgsegm.so.405: cannot open shared object file: No such file or directory

(WebKitWebProcess:12214): GStreamer-WARNING **: 06:54:58.693: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopenexr.so': libIlmImf-2_5.so.25: cannot open shared object file: No such file or directory

(WebKitWebProcess:12214): GStreamer-WARNING **: 06:54:58.697: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstwebrtc.so': libnice.so.10: cannot open shared object file: No such file or directory

(midori:11805): GLib-GObject-WARNING **: 06:54:59.204: ../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a value of type CairoSurface

(WebKitWebProcess:12214): GStreamer-CRITICAL **: 06:55:17.488: gst_caps_set_value: assertion 'G_IS_VALUE (value)' failed

(WebKitWebProcess:12214): GStreamer-CRITICAL **: 06:55:17.488: gst_caps_set_value: assertion 'G_IS_VALUE (value)' failed

(midori:11805): GLib-GObject-WARNING **: 06:55:18.994: ../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a value of type CairoSurface
After I repeated that approx 5 times it still displays Yt and the terminal output from the successful final loading the site is this:

Code: Select all

(WebKitWebProcess:12348): GStreamer-WARNING **: 06:58:07.421: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(WebKitWebProcess:12348): GStreamer-WARNING **: 06:58:07.422: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstfluidsynthmidi.so': libfluidsynth.so.3: cannot open shared object file: No such file or directory

(WebKitWebProcess:12348): GStreamer-WARNING **: 06:58:07.425: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopencv.so': libopencv_bgsegm.so.405: cannot open shared object file: No such file or directory

(WebKitWebProcess:12348): GStreamer-WARNING **: 06:58:07.425: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstopenexr.so': libIlmImf-2_5.so.25: cannot open shared object file: No such file or directory

(WebKitWebProcess:12348): GStreamer-WARNING **: 06:58:07.428: Failed to load plugin '/usr/lib64/gstreamer-1.0/libgstwebrtc.so': libnice.so.10: cannot open shared object file: No such file or directory

(midori:11805): GLib-GObject-WARNING **: 06:58:07.977: ../gobject/gbinding.c:467: Unable to convert a value of type gpointer to a value of type CairoSurface
Hopefully you, fulalas, can make sense of that behaviour and of the warning / critical messages?

Added in 2 minutes 37 seconds:
UPDATE
After I loaded one random clip into a new tab that tap keeps displaying its Ooops only and the main page still being on https://www.youtube.com/ also now again only shows its Oooops.

When its displaying the yt stuff seemingly normal and switching to its Oooops state midori displays nothing new on the terminal.
Maybe the Oooops is intentional code made by gøøgle?

Seems at least on yt and running standard 5.0 porteus midori is still broken?

Midori 9.0 browser (WebKitGtk 2.35.1 developer release)

Posted: 25 Nov 2022, 06:20
by Rava
Like my tip here from 3 days ago (that probably no one tried, at least no one commented on it)
Rava wrote:
22 Nov 2022, 19:01
So my best guess is for getting videos to play using midori - go to be https://invidio.xamh.de :)
invidio.xamh.de indeed plays videos just fine.
Lookie here:
Image

Added in 4 minutes 33 seconds:
and the much more recent video i tried on YT runs just fine via https://invidio.xamh.de
Lookie:
Image
So all is well, you can play YT videos if you are able to go to invidio.xamh.de instead.
And if for some strange reasons you are unable (more like unwilling) to go there, well, then no YT videos for you via midori. Your choice.

Added in 16 minutes 49 seconds:
While midori plays YT videos just fine via invidio.xamh.de the download is disabled for reasons I cannot say (maybe it's a copyyright thingy on that specific video?)
Image
but we all have yt-dlp for all our downloading needs:

Code: Select all

guest@porteus:/tmp/test$ yt-dlp -f 243+251 _KaHJQ8XFLE
[youtube] _KaHJQ8XFLE: Downloading webpage
[youtube] _KaHJQ8XFLE: Downloading android player API JSON
[info] _KaHJQ8XFLE: Downloading 1 format(s): 243+251
[download] Destination: Mike Lindell Pleads for His Twitter Back, Wants to Meet with Elon Musk: A Closer Look [_KaHJQ8XFLE].f243.webm
[download] 100% of   17.92MiB in 00:00:17 at 1.03MiB/s
[download] Destination: Mike Lindell Pleads for His Twitter Back, Wants to Meet with Elon Musk: A Closer Look [_KaHJQ8XFLE].f251.webm
[download] 100% of   10.79MiB in 00:00:10 at 1.01MiB/s
[Merger] Merging formats into "Mike Lindell Pleads for His Twitter Back, Wants to Meet with Elon Musk: A Closer Look [_KaHJQ8XFLE].webm"
Deleting original file Mike Lindell Pleads for His Twitter Back, Wants to Meet with Elon Musk: A Closer Look [_KaHJQ8XFLE].f243.webm (pass -k to keep)
Deleting original file Mike Lindell Pleads for His Twitter Back, Wants to Meet with Elon Musk: A Closer Look [_KaHJQ8XFLE].f251.webm (pass -k to keep)
guest@porteus:/tmp/test$ ls -o Mike\ Lindell\ Pleads\ for\ His\ Twitter\ Back\,\ Wants\ to\ Meet\ with\ Elon\ Musk:\ A\ Closer\ Look\ \[_KaHJQ8XFLE\].webm 
-rw-r--r-- 1 guest 30105269 2022-11-24 07:22 Mike\ Lindell\ Pleads\ for\ His\ Twitter\ Back,\ Wants\ to\ Meet\ with\ Elon\ Musk:\ A\ Closer\ Look\ [_KaHJQ8XFLE].webm
guest@porteus:/tmp/test$ 
Image