Skip to content

Playing YouTube clips stopped working

Excerpt: Normally you'd be able to feed YouTube urls to VLC (via drag/drop, command line, 'open stream) and the lua parser would allow the clip to play in VLC.

Problem: YouTube changed something and now clips fail with a 'Couldn't extract youtube video URL, please check for updates to this script'.

Fix: I've updated the lua script and uploaded it as a gist: https://gist.github.com/3729932 Updated code starts at line 141 and ends at line 158.

Just needs merging and a little testing on platforms other than OSX.

Details: It adds another way to retrieve direct links to the YouTube clips. Inspired by rg3's youtube-dl (https://github.com/rg3/youtube-dl).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information