VLC Youtube Streaming Fix
Published on 13 September, 2021 by amjReference: https://itsfoss.com/vlc-is-unable-to-open-the-mrl/
Download the file youtube.lua from the site below:
cd $HOME/Downloads
wget https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
Find the file youtube.luac. Notice the extension of the file being replaced is .luac. The "c" is significant.
locate youtube.luac
/usr/lib/x86_64-linux-gnu/vlc/lua/playlist/youtube.luac
Backup the file. I use a directory called backups for backups.
cp /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/youtube.luac $HOME/backups/youtube.luac.orig
Replace /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/youtube.luac:
sudo cp $HOME/Downloads/youtube.lua /usr/lib/x86_64-linux-gnu/vlc/lua/playlist/youtube.luac