My favorites | Sign in
Project Home Downloads Wiki Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 70: YouTube Videos NOT LOADING
6 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by tradekil...@aol.com, Aug 25, 2011
What steps will reproduce the problem (site>keyword>video)?
1. Open GoTube, scroll to YouTube
2. Search a Term
3. Select a video, it doesn't play at all

What is the expected output? What do you see instead?
Video should start playing :)

What version of the product are you using? On what operating system?
GoTube v1.2 on PSP 3000 03g 6.20 PRO B9

Please provide any additional information below.
I have tried MANY YouTube clients for the PSP.  This one actually finds results, but will not play the videos.  Any suggestions?  There isn't much of a wiki section here :)

Aug 25, 2011
#1 tradekil...@aol.com
SIDE NOTE:  It isn't just YouTube, I don't think any videos will play :(
Aug 25, 2011
Project Member #2 biscotte...@gmail.com
yes that very weird. with the same URL, PC download the file, but PSP got a 403 error.
and i've tried to use same user-agent and properties than firefox, youtube still block the PSP ... but how do they do :s
Aug 25, 2011
#3 tradekil...@aol.com
EDIT: Seems like Google Video will work, so is YouTube just a bust at this point?  No hope for watching YouTube videos?
Aug 25, 2011
#4 tradekil...@aol.com
Google owns YouTube... that makes a TON of sense.. block YouTube, but not Google Video??? wtf... I will never understand corporate america..
Aug 25, 2011
Project Member #5 biscotte...@gmail.com
maybe youtube found a wait to block all PSP request.
at this point i haven't found a way to bypass this security. 
Aug 25, 2011
#6 tradekil...@aol.com
That's too bad man. Some of the others aren't working, I updated to all the newest scripts to test them all.  Seems like Google Video works, none of the porn ones work at all, some not even returning results.  Not sure what the problem is, it can't be GoTube though, because Google is working.  Must mean the scripts need updating perhaps?
Aug 25, 2011
Project Member #7 biscotte...@gmail.com
the issue panel is definitely not the right place to talk about google decision or any American corporatist stuff. google-video doesn't have any commercial contract with universal,emi and so one. so don't try to compare them.
one more thing, each time you post in issue (or double post like now), i got an email so i just receive 6 email in the same 20 minute.
if you don't have any solution or new problem don't post here. thanks.
Aug 25, 2011
#8 Waff...@hotmail.com
I guess the problem got fixed because youtube videos are loading for me.
Aug 25, 2011
#9 gigatot...@gmail.com
im watching my videos in youtube,and all the scripts are allright;its so weird,i was thinking :
1-Sometimes when im trying to watch one video in my pc ,the youtube dont allow me to watch them,because this videos is in another country or region.i dont know where are u? but here in my zone the gotube is ok
im using the script by waff..@hotmail.com = youtube15 
2-Maybe Mario12..@gmail.com---You need to uninstall the gotube and try to install everything again. good luck!!

posdata:And dont worry Biscotte..@gamil.com !!your project is ok:)
Sep 4, 2011
#10 orochima...@gmail.com
Quote:
 // the second request of a browser is with an URL containing generate_204 which leads to an HTTP response code of (guess) 204! the next query is the same URL with videoplayback instead of generate_204 which leads to an HTTP response code of (guess again) .. no not 200! but 302 and in that response header there is a field Location with a different (host) which we can now request with HTTP GET and then we get a response of (guess :) yes .. 200 and the video resource in the body - whatever the girlsnboys at google had in mind developing this ping pong - we'll never now. 219
 // but because all nessesary URLs are provided in the source code we dont have to do the same requests as web
-browsers do 220 
// abort if HTTP response code is != 200, != 302 and !=204 - wrong URL? 221 // make one exception for 403 - switch to old method of videplayback instead of generate_204 

It's quoted from sf.net/projects/ytd2 source
I came across it while trying to fix the gotube script.
It seems they know what you have to do to get it work but unfortunately i don't understand how they do it
That code does some good anmount of jumping-around
Maybe someone else who's a little more familliar with java could take a look at that code?
Link: http://ytd2.svn.sourceforge.net/viewvc/ytd2/ytd2/src/zsk/YTDownloadThread.java?revision=61&view=markup
The comment i quoted is at line 218.

Hope someone is able to untangle that code and provide a solution :)

PS: wouldn't it be easier to use gdata's json-c api to get the search results?
JSON is a subset of the js language and can therefore be parsed simply using eval()
There are better ways of parsing it,though but i doubt psp can do them
Sep 7, 2011
#11 redu...@gmail.com
Waiting for fix!
Sep 9, 2011
#13 cloud125...@gmail.com
done  ^^

be happy!

say thanks!
YouTube.js
3.0 KB   View   Download
Feb 24, 2012
#14 javan.pi...@gmail.com
DUDE THANK U THANK U!
Feb 29, 2012
#15 deag...@gmail.com
cloud 125---dude your js is working but most of the latest vids are black and white can u fix it
Sep 3, 2012
#16 pat...@googlemail.com
I'm curious. Is there a way of changing the youtube JS script to make the videos display properly in colour? 
Sign in to add a comment

Powered by Google Project Hosting