New youtube.luac file to resolve yt consent issue

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

New youtube.luac file to resolve yt consent issue

Postby Hitchhiker » 03 Apr 2021 18:22

A new youtube.luac file has just been released to resolve the youtube consent issue.

Copy the code from here:

Code: Select all

https://github.com/videolan/vlc/blob/master/share/lua/playlist/youtube.lua#L1

To create a new youtube.luac file follow instructions here: https://forum.videolan.org/viewtopic.ph ... 26#p483226
The post dates from December 2018, but the link which is the same as the one in the Code field above has been updated automatically.
Last edited by Hitchhiker on 04 Apr 2021 13:14, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: New youtube.luac file to resolve yt consent issue

Postby Rémi Denis-Courmont » 04 Apr 2021 10:23

You can just erase youtube.luac and create youtube.lua. There are really no needs to perform the tokenisation.

VLC users must not install scripts from untrusted sources, as it is actually possible to deploy malware with a VLC Lua script.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

Re: New youtube.luac file to resolve yt consent issue

Postby Hitchhiker » 04 Apr 2021 13:15


VLC users must not install scripts from untrusted sources, as it is actually possible to deploy malware with a VLC Lua script.
Apologies. I deleted the relevant info.

taldetali
New Cone
New Cone
Posts: 1
Joined: 10 Apr 2021 11:45

Re: New youtube.luac file to resolve yt consent issue

Postby taldetali » 10 Apr 2021 11:48

so can i substitute the old youtube.luac file with the one present in the link https://github.com/videolan/vlc/blob/ma ... ube.lua#L1 ?? without risks?

Hitchhiker
Big Cone-huna
Big Cone-huna
Posts: 2203
Joined: 29 Jun 2018 11:40
VLC version: 3.0.17.4
Operating System: Windows 8.1
Location: The Netherlands

Re: New youtube.luac file to resolve yt consent issue

Postby Hitchhiker » 10 Apr 2021 14:41

so can i substitute the old youtube.luac file with the one present in the link https://github.com/videolan/vlc/blob/ma ... ube.lua#L1 ?? without risks?

Yes. The new file is 27KB. Here's a pix.

Image
(click to enlatge)

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: New youtube.luac file to resolve yt consent issue

Postby Rémi Denis-Courmont » 11 Apr 2021 10:14

The official latest version can be downloaded from there:
https://code.videolan.org/videolan/vlc/ ... line=false

However please be aware that VLC Lua scripts are not always compatible across major VLC versions. At the time of writing, you can use Lua plug-ins for VLC 4.0 with VLC 3.0, but this could change in the future.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 25 guests