YouTube links no longer working

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
User avatar
Devilin Pixy
New Cone
New Cone
Posts: 7
Joined: 24 Mar 2011 18:03
VLC version: 4.0-435 NB
Operating System: Win10(64)
Location: Netherlands
Contact:

YouTube links no longer working

Postby Devilin Pixy » 14 Sep 2012 09:01

As of today it seems like YouTube links opened in VLC are no longer able to play. VLC does read the meta info, but stops right after that and does this with every YouTube link i tried. I tested on another computer to see if somehow my VLC had a bug, even re-installed to no avail. Most likely YouTube changed something making it impossible to play YouTube videos. I use VLC to play videos/songs from YouTube a lot and yesterday it still seemed to work. I am using VLC 2.0.3 Twoflower. Does anyone have an idea how to fix this or do i just have to wait till the development team found another way to be able to play YouTube links? Or am i doing something wrong or is my VLC media player not working properly anymore?

Hope someone can give me a bit more info or a solution.
:roll: You cannot depend on your eyes when your imagination is out of focus. (Mark Twain) :roll:

ctp9
New Cone
New Cone
Posts: 3
Joined: 14 Sep 2012 10:06
VLC version: 2.0.4
Operating System: Windows 7 64bit
Location: Canada

Re: YouTube links no longer working

Postby ctp9 » 14 Sep 2012 10:08

You are not the only one - I have also tested multiple versions of VLC, and everything else you can possibly think of... and I think that YouTube has broken the code for VLC once again. This change happened recently (a few hours ago).

A prompt fix would be greatly appreciated, as my current computer is not fast enough to play Flash videos on YouTube (but VLC worked GREAT!).

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 » 14 Sep 2012 11:23

We are aware of the issue and we are working on it.
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.

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

Re: YouTube links no longer working

Postby caji316 » 15 Sep 2012 05:34

Same thing here. I went all the way back to 0.8.6 in the vcl and none will play youtube anymore. I thought it was my .NetFramework messed up but it's not. Maybe a fix will be out shortly. Played great yesterday. Thanks....

User avatar
Devilin Pixy
New Cone
New Cone
Posts: 7
Joined: 24 Mar 2011 18:03
VLC version: 4.0-435 NB
Operating System: Win10(64)
Location: Netherlands
Contact:

Re: YouTube links no longer working

Postby Devilin Pixy » 15 Sep 2012 10:02

Ok, great to know i am not the only one having this problem. Sadly enough it seems like indeed YouTube changed things once again and we will have to wait on a fix.
Thnx for the replys and hope the development team can fix this soon. Please reply on this thread as soon as this is fixed so i can start using YouTube with VLC again.

Good luck guys <3
:roll: You cannot depend on your eyes when your imagination is out of focus. (Mark Twain) :roll:

talitha
New Cone
New Cone
Posts: 1
Joined: 16 Sep 2012 15:03

Re: YouTube links no longer working

Postby talitha » 16 Sep 2012 15:12

me too... :oops: pls help...

ctp9
New Cone
New Cone
Posts: 3
Joined: 14 Sep 2012 10:06
VLC version: 2.0.4
Operating System: Windows 7 64bit
Location: Canada

Re: YouTube links no longer working

Postby ctp9 » 17 Sep 2012 00:47

Just confirming that psl's suggestion works. Tested on Chrome 21.0.1200.0 with VLC 2.0.4 32bit for Windows (from the nightly channel).

hokhiko
New Cone
New Cone
Posts: 6
Joined: 21 Apr 2009 16:32

Re: YouTube links no longer working

Postby hokhiko » 17 Sep 2012 16:53

That Lua doesnt work for me, im using windows vista tried getting the link using chrome and firefox just the same thing, i paste the playlist link into VLC, it plays and loads all the videos into the playlist, but it just keeps skipping through all the videos.

Any fix? was only a few days ago it worked

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

Re: YouTube links no longer working

Postby markostamcar » 17 Sep 2012 21:59


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

Re: YouTube links no longer working

Postby RobertKissel » 17 Sep 2012 22:16

I ran into this same problem; let me re-verbalize what psl said to do, because once I did what he suggested correctly, it repaired the problem for me. I want to explain again just in case someone else needs a step-by-step, baby-food version, as I did. :wink:

I'm using VLC 2.0.3 Twoflower on Windoze XP.

First, I went to https://gist.github.com/3729932 as psl cited.
Next, to save the file in my browser, instead of "downloading" it (which delivers the source code as a gzip'd archive non-programmer Windoze users might have trouble with), I selected the link marked "raw" in the upper right-hand corner of the panel with the source code. This will lode the youtube.lua file in a form you can save to disk as a text file.

Third, in a CMD window, I navigated to the subdirectory where VLC is installed, in my case, X:\path\path\VLC2, but the default directory may be something like "C:\Program Files\Videolan\VLC2.0.3" for most people. There's a subdirectory here called "playlist" and in it, a file called youtube.luac (which probably stands for lua-compiled, because the contents are not text).

RENAME this youtube.luac file to something else, like youtube-luac.old, and REPLACE it with the youtube.lua file you downloaded.

Start VLC again, and load your YouTube URL into it. It will play as before.

I hope this helps someone else. I didn't even know there was a whole scripting language I could use in VLC until this incident, but it took me a few moments to figure out what I needed to do. Now that I know about LUA, perhaps I can figure out ways to write a few similar scripts I need.

Thank you very much for the fix.

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 » 17 Sep 2012 22:23

I hope this helps someone else. I didn't even know there was a whole scripting language I could use in VLC until this incident, but it took me a few moments to figure out what I needed to do. Now that I know about LUA, perhaps I can figure out ways to write a few similar scripts I need.
We hope you can many of those :)
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.

hokhiko
New Cone
New Cone
Posts: 6
Joined: 21 Apr 2009 16:32

Re: YouTube links no longer working

Postby hokhiko » 17 Sep 2012 22:25

Ok that one works somewhat, Thanks :) its not skipping the videos after loading playlist now but i do recieve this error on the first video checked a few others but they work

Code: Select all

access_http error: error: HTTP/1.1 403 Forbidden access_http error: error: HTTP/1.1 403 Forbidden access_mms error: error: HTTP/1.1 403 Forbidden main error: open of `http://o-o---preferred---lhr14s25---v11---lscache6.c.youtube.com/videoplayback?upn=PL-NUlygaoY&sparams=cp%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&fexp=916602%2C910103%2C914005%2C920917%2C922401%2C920704%2C912806%2C913419%2C913558%2C913546%2C913556%2C912706&ms=au&expire=1347937727&itag=44&ipbits=8&gcr=gb&sver=3&ratebypass=yes&mt=1347913212&ip=92.3.129.132&mv=m&source=youtube&key=yt1&cp=U0hTTFlOVV9HUUNOM19RSFlIOnhyNnpzQWNrVUxY&id=ef88890895598729' failed
It played vid 2-5 ok, any ideas how to fix?

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

Re: YouTube links no longer working

Postby markostamcar » 18 Sep 2012 20:14

You're correct, it seems some kind of session has to be initiated, then the second item will play. So the fix is not complete yet.

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

Re: YouTube links no longer working

Postby stevethedog » 20 Sep 2012 13:51

Hi, I tried both fixes above and still nothing happens when I paste the youtube url. Does the lua file need to be compiled or saved in some special way (if so, how do I compile them)? I have copied the text into Notepad, saved as youtube.lua with 'All Files' option in the Save As dialog. saved it as youtube.lua in playlist directory and when I hover over it it is a LUA File.
Still ineffective.
Thanks for any advice, and thanks for the help so far.

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

Re: YouTube links no longer working

Postby markostamcar » 20 Sep 2012 19:27

No, it doesn't need to be compiled. Most YT links work for me, but some don't. The guys at http://www.downloadhelper.net/ also had to fix their FX extension, perhaps some code can be ported from there.

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

Re: YouTube links no longer working

Postby caji316 » 21 Sep 2012 01:03

Same here. I tried both the codes above. Copied to notepad, changed the name to youtube.luac, then put it in the right folder in the playlist, but still no workie. I see it is listed , the second one anyway, second fix, at 8kb's. Does this sound correct? Also do you have a file named youtube_homepage.luac also in that folder?. Thanks...Maybe the Admins at VCL will come out with a new fixed version soon. Thanks to everyone. I tried this fix with 4 different versions of VCL. The latest version was the 2.02. Thanks again..

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

Re: YouTube links no longer working

Postby caji316 » 21 Sep 2012 01:14

P/S...I did get the file by markostamcar to work. Thanks you much man. Saves a lot of cpu power in VCL over youtube. Hope others are as lucky..... Thanks to RobertKissel for telling me how to do this.....

kae
New Cone
New Cone
Posts: 1
Joined: 21 Sep 2012 06:47

Re: YouTube links no longer working

Postby kae » 21 Sep 2012 06:57

Hi, I just registered to post this:
I use JDownloader to download my favorite videos, but it stopped on the same day the links stopped working in VLC (Aug13-14). It is fixed now just like the DownloadHelper plugin. Maybe the guys there can assist in finding the problem or there's something that can be used, as markostamcar pointed out.

I discovered that feature too late (yesterday) and have not had an opportunity to use it yet. Sorry if my english is a little weird, I'm not used to write long messages in english. :)

Oh, and I tried the methods described. No success.

lkmishra
New Cone
New Cone
Posts: 1
Joined: 21 Sep 2012 18:07

Re: YouTube links no longer working

Postby lkmishra » 21 Sep 2012 18:10

Thanks. It working fine now. It's working for mac OSX also.

MorDen
New Cone
New Cone
Posts: 2
Joined: 21 Sep 2012 20:54

Re: YouTube links no longer working

Postby MorDen » 21 Sep 2012 21:04

I replaced the youtube.lua file and now most youtube videos have started working again, but some still don't (for example http://www.youtube.com/watch?v=PdLIerfXuZ4) doesn't work for in vlc for me. It gets the media data and tries to get the rest several times, but then stops. Anyone else have this problem?

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: 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 » 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!


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 14 guests