VLC 2.0.3 Fails to Play Youtube Videos on Debian

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.

# 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:

http://git.videolan.org/?p=vlc/vlc-2.0.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD

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