Description: This addon is published at [videolan](https://addons.videolan.org/p/1344170/) with the below description.
#### Description (possibly out of sync with videolan page) Import a youtube video / playlist into VLC.
##### History and maintenance This is a modification of https://addons.videolan.org/p/1154080/ . The original author seems incommunicado, hence submitting this separate plugin. Please submit pull requests and issues at https://github.com/vvasuki/vlc-addons/blob/master/lua-addons/playlist_youtube.luac .
##### INSTALLATION: - Download https://raw.githubusercontent.com/vvasuki/vlc-addons/master/lua-addons/playlist_youtube.luac and https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua (Some browsers (Some browser (Chrome...) may change the file extension for ".txt" instead of ".luac", so make sure you choose "All extensions" in the dialog box when you save the file on your computer.) - put the file in the vlc /lua/playlist folder, by default (create directories if they don't exist): * Windows (all users): %ProgramFiles%/VideoLAN/VLC/lua/playlist * Windows (current user): %APPDATA%/vlc/lua/playlist * Linux (all users): /usr/lib/vlc/lua/playlist/ * Linux (current user): ~/.local/share/vlc/lua/playlist/ * Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/playlist/
##### USAGE: - Copy the URL of the youtube video or playlist (must contain "list=PL...") - Start VLC, press Ctrl+N, paste the url then click on "Play" (or Alt+P then Enter), the video /playlist should start
I first added this file to% programfiles% vlcluaplaylist. It did not.
Then I created the lua folder in% appdata% vlc first. then I created playlişt folder into lua. and I copied the file to the playlist file.
It now plays the entire playlist.
But I see that this plugin has been broken from time to time, I found it in other solutions before they have been disabled after a while, I hope this solution no longer requires me to change it again
Thank you @vishvas
Do as described everything works fine. I see the playlist content and thumbnails, but when I hit play it just skips the whole list without playing anything
I had the same problem. I updated youtube.lua from https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua . Then, I was able to play most videos of https://www.youtube.com/playlist?list=PL63uIhJxWbgg0OV_AGJ--T4nwTs8XCkX7 .
I found the solution:
The problem was that I couldnt watch any youtube videos.
After adding https://github.com/videolan/vlc/blob/master/share/lua/playlist/youtube.lua into "AppData/..." it worked even if I had it in "Program Files/..."
The file doesn't download as easily as the one you took the extension from. Here you either end up downloading an html file if you save link as when the "follow link option" comes up or you don't get any download but just get what I assume is the code of the extension displayed in the browser
Ratings & Comments
14 Comments
10 It stopped working as of Feb 11 2021. Please update the lua!
don't work
I first added this file to% programfiles% vlcluaplaylist. It did not. Then I created the lua folder in% appdata% vlc first. then I created playlişt folder into lua. and I copied the file to the playlist file. It now plays the entire playlist. But I see that this plugin has been broken from time to time, I found it in other solutions before they have been disabled after a while, I hope this solution no longer requires me to change it again Thank you @vishvas
Is there is any way to change the quality of the video from 360p to 1080p?
Do as described everything works fine. I see the playlist content and thumbnails, but when I hit play it just skips the whole list without playing anything
Does this happen with all playlists or just some playlist?
Till now it seems like to happen with all playlists
I had the same problem. I updated youtube.lua from https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua . Then, I was able to play most videos of https://www.youtube.com/playlist?list=PL63uIhJxWbgg0OV_AGJ--T4nwTs8XCkX7 .
Does it work for you with this one? https://www.youtube.com/watch?v=adQ-o3tyFD4&list=PL2Q3DnxeJ4KoZprs2svNrwQwv6MR5DH1h
Here is the log-file: https://pastebin.com/uBidZWTE
I found the solution: The problem was that I couldnt watch any youtube videos. After adding https://github.com/videolan/vlc/blob/master/share/lua/playlist/youtube.lua into "AppData/..." it worked even if I had it in "Program Files/..."
10 10 tooks some work got it to work with 32-bit VLC. 64-bit VLC does not work.
The file doesn't download as easily as the one you took the extension from. Here you either end up downloading an html file if you save link as when the "follow link option" comes up or you don't get any download but just get what I assume is the code of the extension displayed in the browser
Thanks - Put a better url above - https://raw.githubusercontent.com/vvasuki/vlc-addons/master/lua-addons/playlist_youtube.luac .