What new title do you suggest?
...sorry for not responding earlier, but I couldn't really come up with an answer, the new/current title is fine. Or we could go with the title of the page I link to:
youtube.lua — Play YouTube videos in VLC!...but really, I can't think of a good title for this forum topic. There's no way to say: "
youtube.lua, oh not THAT
youtube.lua, the OTHER
youtube.lua".
...but unfortunately it seems not to work with some videos...
...I haven't pushed any change since Thu, Aug 8, 2013 --- 8/8/13, 3:19:19pm EDT (& of course,
YouTube changed their code Thu, Aug 8, 2013 --- 8/8/13, 7:10:19pm EDT), so the current version shouldn't work --
YouTube was updating their obfuscation nearly every day (now it's been 4 days & they
haven't changed it!!!), wearing me out, so I took a step back to write an Auto-Updater, which will hopefully be released soon. I can push my current version online, if people are actually using it (of course then
YouTube will update their code again!). I haven't had much feedback on if people are
really using it. Thx for the feedback, good to know it's being used...even if it didn't work at the time you tried, sorry for that.
...this video works on my current local version
, but also it doesn't even say the signature is obfuscated. So it should just work anyway (with any version of youtube.lua). Does the video work when you go to YouTube directly?...or could it be blocked in your country? I tried again & it
does say it's obfuscated, so I don't know what happened with the log (not telling me) the 1st time I tested it. Anyway, this will work with an updated version, whenever I release it (until
YouTube breaks it again).
...I can't test this video cuz:
The uploader has not made this video available in your country....but it is a VEVO video, so with the signature update (that I might push in a couple hours {or sooner, if I stop editing this post}), it should work.
Notice that the version from June is at least showing the title of the above videos in the status bar for a short while but recent versions don't display anything.
...it's set to fail early if it doesn't know how to deobfuscate a particular length of obfuscated signature. You can always open Tools -> Messages, before playing the video, to see what's wrong.
When you get the title of the Video, that means the script
thinks it knows how to fix a signature with that length, but it could still fail, if
YouTube has changed the algo for that sig length. When you don't even get the title of the video, the script
knows that it can't decode that sig length & just fails on purpose instead of trying & then failing...so that's actually as designed.
Each version released was mostly to keep up with
YouTube. Old versions should
never work (except for non-VEVO videos, which should
always work), since
YouTube keeps being annoying (changing the obfuscation). The version online at the time of your post also was expected to not work, since I didn't push changes for a couple days.
Anyway, the Auto-Update script I have in the works should fix it: You would be able to set it to check every hour (or day) & it would auto-update the deobfuscation code.
Update: New version uploaded: Mon, Aug 12, 2013 --- 8/12/13, 10:19:19am EDT
"why the f*** do i need a google+ account to comment on a video?" — jawed (2013) (about YouTube's new requirement of Google+)
youtube.lua — Play YouTube videos in VLC!
Updated: Thu, Jan 15, 2015 --- 1/15/15, 7:19:19pm EST
forum.videolan.org/viewtopic.php?f=29&t=111977&p=379147#p379147
Sigh, the above can't be a link: "You cannot use certain BBCodes: [url]."...so, I can't even link back to a post on this forum?
How about this: can long-term/trusted users be allowed links in sigs?