Direct Megavideo FLV link

By bitbit Last update Dec 22, 2011 — Installed 58,053 times.

Not implement them. js in my index.php

in
Subscribe to Not implement them. js in my index.php 5 posts, 4 voices



jomego User
FirefoxMacintosh

Could someone give an example of how to implement the function .. because they do not like to call me the result of the URL.

 
0therOS Scriptwright
ieWindows

Hello , i think ur question is wrong if u speak spanish or something tell me and i can help u.
i think that you are trying to use this scrip as a java script (.js) in your web .

BUT theres a problem !!! This script obviously is for the Firefox Pluggin Greasemonkey .

The problem is that the author use an API function "GM_xmlhttpRequest" to find the 3 variables that u need to decrypt the link

I WANT TO IMPLEMENT THIS SCRIPT ON A WEB PAGE .

BUT I NEVER USED JAVA SCRIPT BEFORE :P

So if someone can help us would be coooool

I just need a script that give me the FLV link just giving the megavideo url .WITHOUT Greasemonkey!!just the script like Clipnabber

HELP US PLEASEEEE

 
0therOS Scriptwright
ieWindows

Hello again i dont know How to make scripts but i was searching for http request and find this
http://eloquentjavascript.net/chapter14.html now i know its possible to make a http request .so if the author can help us please please it would be coool you know hehhehe

 
Steffios User
OperaWindows

Please bitbit can you help us?

 
bitbit Script's Author
Firefox

In order for the resulting link to be valid, you need to get the decryption keys from the video pages' HTML.

For security reasons, the browser does not allow you to make an XMLHTTPRequest request to a remote server, e.g. a request from your website to megavideo.com, without the extra permissions you get when running the code through an addon. This is why the script is running on Greasemonkey.

Megavideo serves different keys for each IP address, so in essance they use that to only allow the files' download if it's from the same IP address. Which means that in order to get the correct decryption keys, the browser has to make a direct request to the server, megavideo.com. And that if you try using a proxy to get the keys, it won't work.

If you'd like, you can link your websites users to this script next to the link to Megavideo.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel