yne / gotube

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

veevr.com javascript created but unable to play. needs some final touching. #111

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

var Veevr = new Object();
Veevr.rev        = 1;
Veevr.SearchDesc =
Veevr.Name       = "Veevr";
Veevr.Search     = function (keyword, page){
var result = new Object();
result.bypage    = 20;
result.start     = (page-1)*result.bypage+1;
c=GetContents('http://veevr.com/search/recent/'+page+ 'q='+escape(keyword)+'/');
result.total     = -1;

result.VideoInfo = new Array();
while(p=c.indexOf('<div class="content">',p)+1){
video = new Object();
video.attr = 3;
video.id = ext('<a href="');
video.Title = ext('title="');
video.ThumbnailURL = ext('<img src="');
video.Description  = ext('<p>', '</p>');
video.URL = 'veevr.play("http://veevr.com/videos/'+video.href+'")';
result.VideoInfo.push(video);
}
result.end       = result.start-1+result.VideoInfo.length;
return result;
}
veevr.play = function (id) {
c=GetContents("http://veevr.com"+id);p=0;
var b = unescape(ext('content=''));
return b;
}
SiteList.push(veevr);

Hello, I really like the work you do and I appreciate your work for creating an 
awesome script. I created veevr.com java script. but i am not sure if it 
provides light page. When I load the gotube i get error like unable to load 
veevr.js. I am not sure what is wrong with it.  I am uncertain about thumbnail 
and last veevr.play part. Please help to finish this script. Thanks again for 
your work. 

Original issue reported on code.google.com by th3zone...@gmail.com on 2 Jan 2013 at 9:09

Attachments:

GoogleCodeExporter commented 8 years ago
somebody please check the script and tell me the mistake?

Original comment by th3zone...@gmail.com on 3 Jan 2013 at 10:47