youtube.lua — Play YouTube videos in VLC!
Updated: Fri, Jan 8, 2016 --- 1/8/16, 10:19:19am EST
Updating this page now, please wait for the dust to settle!!!

New Version already uploaded, download it now!
New Version already uploaded, download it now!
Known Issues — Tue, Jan 5, 2016 --- 1/5/16, 7:19:19pm EST
I know my version of YouTube.lua is semi-broken right now...
  • It doesn't work on "protected" videos (I have not re-synced with the latest Official YouTube.lua, so this is expected)
  • It is displaying all titles as "#e62117" due to a string matching issue (I haven't tested the official YouTube.lua for this issue yet)
...these issues should be corrected soon.
Notice — Thu, Jan 15, 2015 --- 1/15/15, 3:19:19pm EST
YouTube has fucked things up again.

There is NO WORKING VERSION of YouTube.lua right now.

Not mine & not even VLC's Git version either.
Report Bugs here...
I know it's broken, no need to report anything at the moment.
...sorry, but you have to register & login!
Why use my version?
Some of the differences between the Official YouTube.lua & My Version (JSLover'z Version)...
  • It displays the YouTube User/Channel Name in more detail (as the "Artist" in VLC), like...

      Official My Version Description
      AvrilLavigneVEVO AvrilLavigneVEVO Username Only (without a custom channel name)
      Syntax: <username>
      Scott Manley Scott Manley (szyzyg) Channel Name (Username)
      Syntax: <channel-name> (<username>)
      nora faye nora faye (UClJYwTkMBhl8HFBdCnd9jpA) Channel Name (Channel ID) (for YouTube users without a Username)
      Syntax: <channel-name> (<channel-ID>)
  • It displays the "Published on" date as part of the title of the video (in the format returned by YouTube)
      Note 1: I've currently only done this with videos that are uploaded, then scheduled to be "Published" at a later date. I could, very easily, make it display the date for all videos, but have not decided to do that yet.

      Note 2: This only works if my script sees the string "Published on", in English, followed by any text (presumably a date). So, if your YouTube is in another language, you may never see a date in the title...sorry, I don't know how to make this configurable or I would!
Click Here to see an alternate way to play YouTube videos in VLC
(in case YouTube.lua isn't working)
Follow these steps to manually play a video in VLC...
  1. Go to a YouTube Video (if it auto-plays, pause it), change the quality to what you want.
  2. Open the Adblock Plus "blockable items" list
    To do that...
    1. Click outside the web player to unfocus it (click a few pixels below the Play button or on any blank spot on the web page {or in the Location bar})
    2. Press Ctrl+Shift+V (note: make sure the web page {or Firefox's UI} has keyboard focus, hotkeys won't work if Flash/the web player is focused)
    ...or...
    1. Click Tools ► Adblock Plus ► Open blockable items
  3. In the ABP blockable items pane, for Search, type or paste: videoplay

    There may be several results, these are different qualities. Change the search for the quality you want...
    • For "720p" search for "itag=22"
  4. Right-click on the result you want (a result that matches "videoplay" or "itag=22") & click Copy item's address
  5. Run VLC, press Ctrl+V & press Enter
Recent Changelog / Version History View Full
2016
January 2016
Fri, Jan 8, 2016 --- 1/8/16, 10:19:19am EST
  • Resynced my version with VLC's Git version as of the commit with the msg youtube.lua: resolve XML entities in Art URL
    which was updated on Sat, Dec 19, 2015 --- 12/19/15, 12:08:24pm EST & has the hash 8cd7277cde3d929f7baa0db61ce6162a9848b25e
  • Fixed: It was displaying all Video's Titles as "#e62117", due to a string matching issue (& cuz YouTube changed stuff)
      Note: This bug is fixed in my version but still exists in the current Official YouTube.lua, as of this writing
2015
November 2015
Sat, Nov 28, 2015 --- 11/28/15, 7:19:19pm EST
Thu, Nov 12, 2015 --- 11/12/15, 3:19:19pm EST