Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Flash support for Linux is still lacking. Older hardware often performs only poorly when trying to watch youtube videos.

There are several external players (VLC, mplayer, minitube) that alleviate this problem by offering video playback without flash. But none of them support parsing Youtube playlists out of the box.

Is there any way I can play Youtube playlists without having to rely on flash?

share|improve this question

marked as duplicate by cipricus, Eric Carvalho, Uri Herrera, Radu Rădeanu, psusi Jun 3 '13 at 14:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 8 down vote accepted

It turns out there is:

Playing Youtube playlists using a playlist parser script for VLC


Installation

Instructions as per the source:

  • download the script (or copy it and paste it in a new file with the name playlist_youtube.lua)
  • move the file to ~/.local/share/vlc/lua/playlist/ (current user) or /usr/share/vlc/lua/playlist/ (all users)

Usage

Open up VLC and hit CTRL+N to display the Open Network Stream dialog. Paste your youtube playlist link into the text field and hit Enter. Make sure the link you copied contains the youtube playlist identifier (list=PLxxx).


Note: This script relies on VLC's inbuilt youtube parser. As youtube changes its system now and then, video playback in VLC might suddenly stop working. In that case you will have to update your youtube parser script. You can do so with the following commands (credit goes to phoibos):

sudo apt-get install curl

(makes sure curl is installed)

sudo rm /usr/lib/vlc/lua/playlist/youtube.*

(removes old parser)

sudo curl "http://git.videolan.org/p=vlc.git;a=blob_plain;f=share/lua/playlist/youtube.lua;hb=HEAD" -o /usr/lib/vlc/lua/playlist/youtube.lua

(downloads new parser)

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.