VLC 2.0.3 Fails to Play Youtube Videos on Debian Wheezy

Trying to play Youtube video fails with the following error:

lua error: Couldn't extract youtube video URL, please check for updates to this script

We have a Debian Wheezy machine with VLC 2.0.3 installed:

$ uname -rv
3.2.0-4-amd64 #1 SMP Debian 3.2.51-1
# dpkg -l vlc
||/ Name     Version      Architecture   Description
ii  vlc      2.0.3-5      amd64          multimedia player and streamer

The problem can be fix by replacing the original youtube.luac file with the content from the following git:


Create a backup first:

# mv /usr/lib/vlc/lua/playlist/youtube.luac /usr/lib/vlc/lua/playlist/youtube.luac.org

Create a new youtube.luac file and paste the content of the git:

# vim /usr/lib/vlc/lua/playlist/youtube.luac

Leave a Reply

Your email address will not be published. Required fields are marked *