yne / gotube

YouTube player for the PlayStation Portable
0 stars 1 forks source link

YouTube Videos NOT LOADING #70

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 :)

Original issue reported on code.google.com by tradekil...@aol.com on 25 Aug 2011 at 4:55

GoogleCodeExporter commented 8 years ago
SIDE NOTE:  It isn't just YouTube, I don't think any videos will play :(

Original comment by tradekil...@aol.com on 25 Aug 2011 at 5:02

GoogleCodeExporter commented 8 years ago
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

Original comment by biscotte...@gmail.com on 25 Aug 2011 at 5:04

GoogleCodeExporter commented 8 years ago
EDIT: Seems like Google Video will work, so is YouTube just a bust at this 
point?  No hope for watching YouTube videos?

Original comment by tradekil...@aol.com on 25 Aug 2011 at 5:11

GoogleCodeExporter commented 8 years ago
Google owns YouTube... that makes a TON of sense.. block YouTube, but not 
Google Video??? wtf... I will never understand corporate america..

Original comment by tradekil...@aol.com on 25 Aug 2011 at 5:16

GoogleCodeExporter commented 8 years ago
maybe youtube found a wait to block all PSP request.
at this point i haven't found a way to bypass this security. 

Original comment by biscotte...@gmail.com on 25 Aug 2011 at 5:20

GoogleCodeExporter commented 8 years ago
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?

Original comment by tradekil...@aol.com on 25 Aug 2011 at 5:29

GoogleCodeExporter commented 8 years ago
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.

Original comment by biscotte...@gmail.com on 25 Aug 2011 at 5:33

GoogleCodeExporter commented 8 years ago
I guess the problem got fixed because youtube videos are loading for me.

Original comment by Waff...@hotmail.com on 25 Aug 2011 at 6:07

GoogleCodeExporter commented 8 years ago
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:)

Original comment by gigatot...@gmail.com on 26 Aug 2011 at 12:40

GoogleCodeExporter commented 8 years ago
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?r
evision=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

Original comment by orochima...@gmail.com on 4 Sep 2011 at 1:35

GoogleCodeExporter commented 8 years ago
Waiting for fix!

Original comment by redu...@gmail.com on 7 Sep 2011 at 9:48

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
done  ^^

be happy!

say thanks!

Original comment by cloud125...@gmail.com on 10 Sep 2011 at 1:32

Attachments:

GoogleCodeExporter commented 8 years ago
DUDE THANK U THANK U!

Original comment by greeneen...@gmail.com on 25 Feb 2012 at 1:39

GoogleCodeExporter commented 8 years ago
cloud 125---dude your js is working but most of the latest vids are black and 
white can u fix it

Original comment by deag...@gmail.com on 1 Mar 2012 at 5:24

GoogleCodeExporter commented 8 years ago
I'm curious. Is there a way of changing the youtube JS script to make the 
videos display properly in colour? 

Original comment by pat...@googlemail.com on 4 Sep 2012 at 3:04