YouTube links no longer working

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
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: 37523
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: 37523
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: 37523
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: 37523
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: 37523
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: 15266
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

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
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:55

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.
VLC can change its user-agent; this feature has been in use for a while. That will not solve anything with YouTube.

There are two known problems with YouTube. First, the site layout keeps changing. Without a fully-fledged HTML stack, the player cannot be future-proofed against layout changes. So fundamentally, this will keep breaking. Second, YouTube tends to temporarily blacklist clients that asks for many videos but nothing else. I am not sure if this is based on (not) passing cookies, (not) downloading ads or whatever else a browser would do but a media player would not.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

B-G
Blank Cone
Blank Cone
Posts: 18
Joined: 19 Feb 2012 14:39

Re: YouTube links no longer working

Postby B-G » 17 Oct 2012 00:00

I applied the patch mentioned by psl in the last post of the first page to the uncompiled lua script. Everything is now working fine for me in VLC 2.0.3 on OS X 10.5.8 PPC.
Download the youtube.lua file from here:
http://forums.macrumors.com/showpost.ph ... stcount=58

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

Re: YouTube links no longer working

Postby sedaray » 19 Oct 2012 00:14

Thank you! Thank you B-G! I couldn't figure how to apply the patch. It's good to know when a problem is caused by obsolescence, but better when someone offers a solution. Thank you again!

geostein8888
Cone that earned his stripes
Cone that earned his stripes
Posts: 142
Joined: 15 Dec 2010 11:32

Re: YouTube links no longer working

Postby geostein8888 » 27 Oct 2012 08:24

Hello,
(i'm using VLC 2.04)
i have the same problem while connecting to this live event:

Code: Select all

http://www.youtube.com/user/DoomtreeRecords?feature=lb&v=D27A2rt0AkE Stream url: http://v21.lscache8.c.youtube.com/liveplay?algorithm=throttle-factor&burst=40&cp=U0hURlNOVl9JTkNONF9LSFpKOjlFNHRSS3phSnhr&expire=1351338944&factor=1.25&fexp=903802,926100,916614,922401,920704,912806,927201,925003,913546,913556,920201,900816,911112,901451&id=D27A2rt0AkE&ip=87.163.141.214&ipbits=8&itag=35&key=yt1&ns=yt-hangout&signature=0A2801116B6BA94A39DA95F06B6B6DCB31C8C34D.0D4271E9A42AA6D2815C4BF752596D80CD82E9A9&source=youtube&sparams=algorithm,burst,cp,factor,id,ip,ipbits,itag,ns,source,upn,expire&sver=3&upn=CBrn3Xmi5KQ&ptk=youtube_none&begin=Infinity
it gets the http error with the vlc player.
When i use wget, i can down load the stream with teh url i got form the vlc log

Georg

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
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 » 27 Oct 2012 17:52

Look at the logs.
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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests