Jump to content

Render a website on sever side and return a value.


y2kbug

Recommended Posts

[CODE]<a href="#" onclick="this.href=unescape(document.getElementById(\'VideoPlayback\').src.match(/videoUrl=([^$)]*)/)[1]);this.firstChild=\'Download Flash Video\';return false;" style="color:#FFFFFF; font-weight:bold; font-size:10px;">Find Flash Video</a>[/CODE]

That code is part of a plugin for firefox that makes a link to the actual download path(to download the .flv).

I will do anthing it takes to make this code work from a remote website and return the download address without having to refresh.

I want it to then download the movie to a sever, whitch i do have authorazation for, but i could figure that out on my own as long i can get this part to work.


This is my first time posting at this forum and I am new to web design i hope you guys will be able to help me along with this

I know it can be done, maybe not with this code but something similar check out
[url=http://www.videodl.org/]http://www.videodl.org/[/url]
i want it to do that but instead of giving a link, have it download the file to my server.

ps i have been trying for 4 days now but i still dont know where to start other that i need to use a server side script

thank you
~zak~
I posted this exact same post I the javascript forum and someone told me to post it in the php forum, so thats why I posted here.
They said to leave the old thread there so people know that you need php to do this. I looed for it now but that thread seemed to have been deleted.

I want it to use that code, or something to the same affect, to find the absolute download link to a google video as they do on www.videodl.org I think they use ajax, but I dont have a clue how to impliment that on my site or for that matter how to use ajax at all, I have been reading the basics about in the last few days tho.
It works if it is placed on the google page via a browser plugin.
I want to be able to get the download link from a supplyed google video url from a remote website.
Did you take a look at http://www.videodl.org/   Obviously the code I supplied will not do that by itself!, not unless it is, at least, somewhat adapted.
wow ok i been working on this all day. I found some source code for an ajax script including js, php and more. If i try it on my site in the oridginal for i get a parse error. I didnt try that until i hav taken ot alot of html stuff and i got a notice.

this code shows up right but i get this notice: "Notice: Undefined variable: url in /www/110mb.com/z/f/i/l/e/s/_/_/zfiles/htdocs/extensions/PageMng/default.php(802) : eval()'d code on line 89"

it doesnt work either.

here is the original site: http://video.qooqle.jp/dl/ it offers the source code.

thanks guys for all the replys so far ;D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.