Luakit browser not playing YouTube videos

Hi,

since some recent update www/luakit-devel and www/luakit don't play videos anymore. Does anyone already noticed and found the cause of this?

Non playing seems to be from after the update of luakit itself, so probably it is another dependency.

luakit-devel version 2.3.3.0_1,2
luakit version 2.3.3,1

Starting the browser from a terminal gives no extra information.

YouTube directs to a page saying my browser is up to date and promoting Firefox, Chrome and Opera. Firefox indeed has no issues in playing the vids.
 
https://www.youtube.com/watch?v=Ksh1XOPNi5s not playing on 15.0-CURENT.

Probably my first ever view of YouTube content in Luakit.
 

Attachments

  • 1699644530887.png
    1699644530887.png
    134.7 KB · Views: 117
I have the same problem withwww/luakit which I didn't have before, maybe month ago...
Do you have any addblocks? I did try with disabled addblocks and enabled javascript but it is the same.
And I have settings.webview.user_agent = "Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0"
 
For the first two videos:

The media could not be loaded, either because the server or network failed or because the format is not supported.

View attachment 17383


How exactly do I make those settings?
local settings = require "settings"
local noscript = require "noscript"
those for scripts

local soup = require "soup"
for cookies
noscript.enable_scripts = false
noscript.enable_plugins = false
soup.accept_policy = "no_third_party"
Javascripts and plugins should be disabled in settings. If you want to enable javascripts/plugins you need to type ,ts or/and ,tp. For reset is ,tr. And after enabled/disable you need to reload page with r and enter.
And I use settings in ~/.config/luakit/userconf.lua. File you make by yourself.

I did try videos again and works for me.

And edit again :).
settings.webview.user_agent = "Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0"
Put in userconf.lua
 
TNX al for testing and reporting! Suspected YouTube only serves browsers they know and like proved to be true.
 
Hi,

since some recent update www/luakit-devel and www/luakit don't play videos anymore. Does anyone already noticed and found the cause of this?

Non playing seems to be from after the update of luakit itself, so probably it is another dependency.

luakit-devel version 2.3.3.0_1,2
luakit version 2.3.3,1

Starting the browser from a terminal gives no extra information.

YouTube directs to a page saying my browser is up to date and promoting Firefox, Chrome and Opera. Firefox indeed has no issues in playing the vids.
I see thay you have installed also development version. What is difference, please? And both using Lua51. I do not know why not 5.4.
Thank you.
 
I see thay you have installed also development version. What is difference, please? And both using Lua51. I do not know why not 5.4.
Thank you.
When there are issues with luakit, I try both the regular and the development version. Sometimes it helps, sometimes not.
 
Back
Top