YouTube links no longer working

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
stevethedog
New Cone
New Cone
Posts: 7
Joined: 15 Aug 2012 01:24

Re: YouTube links no longer working

Postby stevethedog » 22 Sep 2012 11:49

Hi, finally got it working using the https://gist.github.com/3729932 code and saving it as .luac not .lua.
Thanks for all your help.

stevethedog
New Cone
New Cone
Posts: 7
Joined: 15 Aug 2012 01:24

Re: YouTube links no longer working

Postby stevethedog » 22 Sep 2012 12:56

Sorry, spoke too soon. I can now play the videos but cannot record them. The Record button is there but nothing is recorded. Until the recent youtube change this worked fine.
ANybody else got this problem or found a solution?
Thanks

fbrito2000
New Cone
New Cone
Posts: 1
Joined: 23 Sep 2012 05:31

Re: YouTube links no longer working

Postby fbrito2000 » 23 Sep 2012 06:14

I am a fresh member of this forum and would like to say Hello to all and THANKS everybody who got involved in this issue and worked to come to this solution. I updated my VLC 's v2.0.2 yout????.luac file (XPSP3 32bit - Opera 12.02) following the step-by-step described in RobertKissel's post.

Unfortunely, there's a lot of garbage spreaded around the net with wrong or out-of-date content about VLC. I wasted significant time looking for this solution in wrong places - and tried a lot of weird solutions without success. So as much as I can, I'll try to recommend this forum as the 1st place to go when something gets misconfigurated in VLC. Thanks again!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: YouTube links no longer working

Postby Jean-Baptiste Kempf » 23 Sep 2012 11:58

VLC 2.0.4 will have an update for that.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

opello
New Cone
New Cone
Posts: 1
Joined: 28 Sep 2012 03:37

Re: YouTube links no longer working

Postby opello » 28 Sep 2012 03:42

I ran into this problem, and fixed it similarly to the previous person (sig -> signature).

However, I did some general cleanup as well, and here is the result if you like:
https://gist.github.com/3729932

It mainly adds a 'split' function which I saw in another plugin and uses the get_url_param function to extract the parameters, so that the order of itag/url/sig in the url_encoded_fmt_stream_map is no longer an issue.

Thanks for VLC!

RobertKissel
Blank Cone
Blank Cone
Posts: 15
Joined: 28 Jan 2012 17:43

Re: YouTube links no longer working

Postby RobertKissel » 29 Sep 2012 06:54

Uh-oh. Things were going along very nicely, but now they seem to be broken again!

This evening, I tried viewing http://www.youtube.com/watch?v=vxe3zBWojR4 in VLC, using the new lua script; and it doesn't seem to pull it down. I also tried the version posted by opello, above, to see if that fixed it, but it VLC still seems unable to play the video. I'm afraid I don't quite know how to go about debugging a lua script, so I'm not sure where it is failing, but I'd suspect that for some reason this match is now failing:

Code: Select all

for url,itag in string.gmatch( vlc.strings.decode_uri(line), "url=([^&,]+)[^,]*&itag=(%d+)" ) do url = vlc.strings.decode_uri(url) path = url
because the error message is getting printed that occurs if no path is found.

wirysage
New Cone
New Cone
Posts: 5
Joined: 12 Jun 2012 07:17

Re: YouTube links no longer working

Postby wirysage » 29 Sep 2012 08:07

Fix this please!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: YouTube links no longer working

Postby Jean-Baptiste Kempf » 29 Sep 2012 11:29

Did you try the version from our nightly builds 2.0.4 ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

RobertKissel
Blank Cone
Blank Cone
Posts: 15
Joined: 28 Jan 2012 17:43

Re: YouTube links no longer working

Postby RobertKissel » 29 Sep 2012 19:42

No, I did not! However, after seeing your post, I got the latest nightly build, unzipped only the youtube.luac file, put it in the playlist directory for the build I have installed (which is 2.0.3 Twoflower, compiled July 19 by "jb"), and bingo, up comes my video.

I shall now try to save it, which is how all this got started . . . VLC is just right for capturing and saving things I need.

I notice that there is also a youtube_homepage.luac, which I have not unzipped and deployed; what is it used for?

I'm very curious as to when and how VLC loads lua extensions from the subdirectories, and how and when the various little extensions get invoked. I don't have the "big picture" yet.

Thank you for directing me to the fix, Jean-Baptiste Kempf.
=================================================================================================================
Perhaps, given that my baby-food style step-by-step instructions seem to have been helpful for a number of people, I should reiterate, in slow motion, what I just did to get up and running again:
  1. I directed my Web client to http://nightlies.videolan.org/build/win32/?C=M;O=D (or, for other OS's, http://nightlies.videolan.org/build/)
  2. I selected the most recent build, which, in my case, was http://nightlies.videolan.org/build/win ... 0929-0203/
  3. I downloaded the non-debugging version as a .zip file: http://nightlies.videolan.org/build/win ... -win32.zip
  4. I unzipped tbe file youtube.luac (I use infoZip, so the command was

    Code: Select all

    unzip -j vlc-2.0.4*.zip *youtube.luac
    )
  5. In the installation subdirectory .../lua/playlist , I renamed my present version of youtube.lua or youtube.luac to another name (like youtube.lua.old)
  6. I copied in the fresh delivery of youtube.luac
  7. I then restarted VLC so that it would read the fresh extension lua code, and was again able to play a youtube.com video in VLC.

caji316
Blank Cone
Blank Cone
Posts: 14
Joined: 30 May 2010 00:09

Re: YouTube links no longer working

Postby caji316 » 30 Sep 2012 00:22

Thanks my friend, works great. Seems Youtube keeps on messing with this and changing it and other stuff now for the past 2 weeks.Thanks for putting it out the way you do so us not in the know can get ours to work also. Thanks again.....

migawka
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Apr 2010 02:23
Location: Poland

Re: YouTube links no longer working

Postby migawka » 30 Sep 2012 03:03

can somebody put the current youtube.lua file?
VLC v1.1.5, OS Windows XP Pro SP3

wirysage
New Cone
New Cone
Posts: 5
Joined: 12 Jun 2012 07:17

Re: YouTube links no longer working

Postby wirysage » 30 Sep 2012 09:09

Yes we need the download link to the youtube lua he is talking about

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: YouTube links no longer working

Postby Jean-Baptiste Kempf » 30 Sep 2012 13:08

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

wirysage
New Cone
New Cone
Posts: 5
Joined: 12 Jun 2012 07:17

Re: YouTube links no longer working

Postby wirysage » 02 Oct 2012 10:53

4.1.0 build still not working for me. Is it working for anyone else?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: YouTube links no longer working

Postby Jean-Baptiste Kempf » 02 Oct 2012 11:19

4.1.0 ? wut?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

wirysage
New Cone
New Cone
Posts: 5
Joined: 12 Jun 2012 07:17

Re: YouTube links no longer working

Postby wirysage » 02 Oct 2012 17:36

2.1.0 lol. Do the youtube links work for you Jean?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: YouTube links no longer working

Postby Jean-Baptiste Kempf » 02 Oct 2012 18:59

yes.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

markostamcar
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Jul 2009 19:16

Re: YouTube links no longer working

Postby markostamcar » 02 Oct 2012 21:48

Here's the youtube.luac: http://mir.cr/LANJY1U9

VLCRocks
New Cone
New Cone
Posts: 1
Joined: 03 Oct 2012 19:39

Re: YouTube links no longer working

Postby VLCRocks » 03 Oct 2012 21:21

Hello all, and thanks to any and all that are attempting to fix this issue.

OS: XP
VLC Build: 2.0.3, and currently 2.0.4 Nightly.

1) I have tried every method listed in this and numerous forums and no method has worked for me (for long if at all iirc).

2) Methods attempted:

a) Saving and replacing the numerous "youtube.lua/luac" files = Stopped working a week ago.
b) Using the newest nightly-build (2.0.4) = Does not work at all. (UPDATE even before I've posted this msg lol) WORKS magically?????
c) Replacing the stable build (2.0.3) "youtube.lua/luac" with the nightly-build (2.0.4) = Does not work.

It should be as simple as "mine works, here's a screen capt of the youtube vid link in question..." = Where is this simple proof of assertion? If there is no proof, thus there is no agreement upon "working" and "solution..."

Test this link if you would please: youtube.com/watch?v=p9lVceAVxqw <---BTW PAY ATTENTION to this video, bc it DOES affect every one of you in the "free-est nation in the world"? :?

MINE WORKS: Proof below...
http://anonym.to/?http://i.imgur.com/iGZHc.png

So what have I learned thus far... NONE of the proposed solutions worked for me, EXCEPT: unzipping 2.0.4 nightly, using the "play from clipboard" option. BUT I will add that, before I signed up (minutes ago) for the forums, said link did NOT work with regards to the above statement. While typing this post, I decided to give it a go for the heck of it, and to copy/paste the error log, but suddenly it played with no changes made on my part... I have no "solution" other than to tell everyone to download the nightly 2.0.4 and play your links with it. I tried doing the same a bit ago with 2.0.3 stable, and the link does not work after multiple tries... I think something strange on youtube's side of the fence is happening. As I said it did NOT work in 2.0.4 the 1st couple attempts... It does now - for how long remains to be seen... Thanks devs!

aver
New Cone
New Cone
Posts: 9
Joined: 26 Dec 2010 23:15

Re: YouTube links no longer working

Postby aver » 07 Oct 2012 15:12

2.0.4 plays youtube videos, however, the audio quallity is horrible :-(

[I used http://nightlies.videolan.org/build/win ... -win32.zip to play e.g. http://www.youtube.com/watch?v=FGAyjfwK-wI]

aver

mod1234
New Cone
New Cone
Posts: 2
Joined: 04 Oct 2012 13:36

Re: YouTube links no longer working

Postby mod1234 » 08 Oct 2012 09:25

In my case it isn't working..
I downloaded the file, went to the directory 'playlist', renamed the file into youtube-luac.old (which makes it a .old-file..) and put the new file .lua-file in it.

I removed the other file, but still it isn't working when I start VLC again.

What am I doing wrong?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: YouTube links no longer working

Postby Jean-Baptiste Kempf » 08 Oct 2012 18:56

In my case it isn't working..
I downloaded the file, went to the directory 'playlist', renamed the file into youtube-luac.old (which makes it a .old-file..) and put the new file .lua-file in it.

I removed the other file, but still it isn't working when I start VLC again.

What am I doing wrong?
Did you try a nightly build?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

sedaray
New Cone
New Cone
Posts: 4
Joined: 16 Oct 2012 01:59

Re: YouTube links no longer working

Postby sedaray » 16 Oct 2012 03:56

Mac 10.5.8 PPC - none of the youtube.lua or .luac files work - (the latest nightly build for PPC won't open at all.)
I tried replacing the .luac files with the youtube.lua on versions 2.0.2, 1.1.9, 1.1.12 - none work.
I'm stumped! Any Mac PPC people out there?

OPD
New Cone
New Cone
Posts: 1
Joined: 16 Oct 2012 06:02

Re: YouTube links no longer working

Postby OPD » 16 Oct 2012 06:07

I believe that YouTube is detecting the "User Agent" and blocking specific applications from accessing their content.

Much like Opera and other savvy tools allow, VLC Media Players needs to provide an option that would "fake" YouTube into thinking Firefox, Opera, IE, etc is originating the request.

Again, this is merely my opinion, based on the evidence presented thus far.

Rémi Denis-Courmont
Developer
Developer
Posts: 15067
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: YouTube links no longer working

Postby Rémi Denis-Courmont » 16 Oct 2012 15:49

Mac 10.5.8 PPC - none of the youtube.lua or .luac files work - (the latest nightly build for PPC won't open at all.)
I tried replacing the .luac files with the youtube.lua on versions 2.0.2, 1.1.9, 1.1.12 - none work.
I'm stumped! Any Mac PPC people out there?
You need big endian .luac files on PowerPC; the little endian ones for x86 and ARM cannot be used. Since PowerPC is very much dead and other big endian architecture are even more so, hardly anobody will bother here. You will need to compile the big endian .luac yourself or wait for the PowerPC builds of VLC 2.0.4.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests