Go
Not registered? Sign up!

All Megavideo Cases Here

Google Translate
174 posts | return to the Setup Problems forum | get the rss feed for this thread

Jul. 23, 2008Emre Korkmaz

İ thought that as we have so many threads about youtube videos but we discuss about other stuff there like megavideo we should open a new thread for that so i did.
Please checkout my api for megavideo avi link finding and im working on a new thing for the flv.

Jul. 23, 2008Emre Korkmaz

Heres my Megavideo avi api as the other thread got removed which a spammer ruined:
Usage:
http://firefoxpoint.com/meelu/megavideo.php?id=MQSXHWD9
While the Megavideo url is:
http://megavideo.com/?v=MQSXHWD9

Also a php code just to show an example usage:
<?php
// Emre Korkmaz Meelu Megavideo Avi Finder Api
// 15 June 2008
$megavideoid = $_GET['id'];
$url = "http://firefoxpoint.com/meelu/megavideo.php?id=$megavideoid";
$result = file_get_contents($url);
echo '<object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616" width="420" height="310" codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab"><br />
We have just updated all movies to Divx quality!

<param name="mode" value="zero" />
<param name="autoPlay" value="true" />
<param name="src" value="'.$result.'" />

<embed type="video/divx" src="'.$result.'" custommode="none" width="420" height="310" autoPlay="false" pluginspage="http://go.divx.com/plugin/download/">
</embed>
</object>
<br>No video? Get the DivX Web Player for <a style="text-decoration: underline;" href="http://download.divx.com/player/DivXWebPlayerInstaller.exe">Windows</a> or <a style="text-decoration: underline;" href="http://download.divx.com/player/DivXWebPlayer.dmg">Mac</a><br>
Alternatively, <a href="'.$result.'">Click here to download this Movie</a>';
?>

Jul. 23, 2008Vadi_G

Emre Korkmaz you are the best making the people smile again wink

megavideo and co. has no chance vs you^^

just say if you need help with other scripts there is everytime a way.

the code is working nice ive tested it!

Jul. 23, 2008Jesy

Hello, I am trying to work with this script for megavideo but gives error 403.

Please a suggestion?

Jul. 23, 2008Ghostt

@ Emre Korkmaz

http://firefoxpoint.com/meelu/megavideoflv.php
is this the link for the megavideo flv ,would you explain how to use it if it work now please?

Jul. 24, 2008ha va wa ki

correct me if i am wrong @Emre Korkmaz u are using primium user name and pass on ur script to get the avi fles?? if i m correct bro??? ^ ^

mega avi script http://www.filebase.freehoster.ch/megavideo/megavideo/megavideo.php

download it here http://forums.digitalpoint.com/showthread.php?t=839859
***Attention*** Require Megavideo Primium User Account***** To Execute the script.

hey @ Emre Korkmaz

take alook at the need your help http://www.jeroenwijering.com/?thread=5484#msg77644

if i wanted encode and the i want either divx or flv or wmv player to read it or decode without the user seeing on their view source what can i do any suggestion??????????????

Jul. 24, 2008dan

emre, we want flv version too pls post it

Jul. 24, 2008ha va waki

http://einchi.com/2008/07/21/download-megavideo/

http://www.megapelis.com/megavideo.php?vid=MQSXHWD9

i amalso looking for more . php scripts

Jul. 24, 2008Stealth

@Emre

I try your api but it not working. Can you give me the working php code? Actually I don't know how to use the php code and how to put the megavideo url.

Thanks

Jul. 25, 2008Emre Korkmaz

My api does not require a premium membership neither do the users who use my api thats the fun of it!
and sorry i cannot release the source and trust me its faster to use my api.

İf i used a premium membership megavideo may have a way to trace my details as they could see alot different ips who downloaded using the link you generated and ban you.

Proof my APİ works:
http://firefoxpoint.com/meelu/megavideo.php?id=MQSXHWD9
Result:
http://www131.megavideo.com/files/f04cebf8931da728b78ca575024408e3/witlessprotection.avi

Jul. 25, 2008Emre Korkmaz

@Ghostt
http://firefoxpoint.com/meelu/megavideoflv.php
İm working on it

and @Vadi_G
Thanks for the compliment mate im going to make an api for the hardest to crack sites.

Jul. 25, 2008ha va waki

hey @ Emre Korkmaz

take alook at the need your help http://www.jeroenwijering.com/?thread=5484#msg77644

if i wanted encode and the i want either divx or flv or wmv player to read it or decode without the user seeing on their view source what can i do any suggestion??????????????

or encrypt the url so the if the user wont the see the link on view source. ^_^ help me if u can bro with php script way to encrypt the link and have the player read the encrypted url and steam it ??

Jul. 26, 2008Emre Korkmaz

You need to use javascript.
Checkout tvshack.net and surfthechannel.com sourcecode and javascript you may find some clues there.

Jul. 26, 2008divxdude

emre,şunun tam kodunu bana yollayabilirmisin nihatbarin@gmail.com

Jul. 27, 2008dkblackhawk

i need some really help here i just tried Emre Korkmaz megavideo avi script he posted but the video dont work any reasons why? can you please show a full example of the script working?

Jul. 27, 2008Daiphyer.Com

The default megaivdeo is able to move ahead of the video without waiting for the whole file to be buffered.
The JW flv media player has rtmp functionality which makes it possible to move around the video without have the whole file buffered. When I use the megavideo url with JW player, it does not provides that functionality.

So I wanted to know where is it possible for the Megavideo player to move around the url, but the JW player can't.
Also, what would be needed in order to make it happen in JW?

Thank You :-)

Update: I used live header and see what megavideo's player was doing when I skipped from 1 spot to another. It seems to be sending request to the server so it will only load the data from the given runtime spot and forward. Sometimes it was asking for Content-Length: 5570899 and other times it was Content-Length: 2873390. So now the question becomes if the JW player could do that aswell.

If it is possible to send range as a headerm in flash, when accessing the url then depending on the placement of time, we can determine the amount of remaining data to get. Of course, this is assuming that there is constant bit rate in the video.

I tried moving the video to 3:02 time in the video, and the return Content-Length: 1,133,709.
I wrote following code:
<?
$size = 8786072;
$runtime = 214;
$second = (int) ($size / $runtime);
$newTime = $second * 182;

echo'Filesize: '. number_format($size) .' <br>
Run Time: '. number_format($runtime) .' <BR>
1 Second = '. number_format($second) .' <BR>
New Time = '. number_format($newTime) .'<BR>
Remains = '. number_format($size - $newTime) ;

?>

And the output
Filesize: 8,786,072
Run Time: 214
1 Second = 41,056
New Time = 7,472,192
Remains = 1,313,880


The generated remaining amount is almost equivalent to what megavideo header returned. Now, if only someone could implement this technique into the player.

Jul. 27, 2008PASTEL

slt, I have a problem with MegaVideoDownloader I do not know Why?

I did my login and password of megavideo preminium but dont work ???




http://frmovies.net/ops/gmvu.php

Jul. 27, 2008JACK

EMRE, WHERE IS FLV API VERSION MAN???

Jul. 27, 2008thankful_coder

ha va wa ki, thanks for that script link.. It helped me with gettin another site working, which I needed that cookie feature for. (of course it's out there, but I'm a n00b)

Emre Korkmaz, thanks for the MegaVideo script! Like everyone else, I'm gonna ask for the FLV script if / when possible. I understand it's 2 separate things.. but someone will hook it up eventually ! :P

Jul. 28, 2008ha va wa ki

put z between your name and it will work ^ ^ A miss >>Z<< U

joking!!!!!!!!!! actually have no idea

a person above asked me about the

http://www.filebase.freehoster.ch/megavideo/megavideo/megavideo.php
http://www.filebase.freehoster.ch/megavideo/megavideo/

mv_cookie.txt can be found their with some other files check it

# Netscape HTTP Cookie File
# http://www.netscape.com/newsref/std/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

www.megavideo.com FALSE / FALSE 1217199689 mc_popunder 1217188889
.megavideo.com TRUE / FALSE 1476458902 user b360e2629b74eb2f78ca8bea34469c9d


this is the orginal script warring u need primium id and p a s s
http://forums.digitalpoint.com/showthread.php?t=839859

--------------------------------------------_______________________________
Thumbs up Free MegaVideo Movie Downloader PHP Script
MegaVideo Downloader V 1.0

Main Point:

* Using your premium membership with megavideo, you can obtain a download link for such video dynamically.

Who Uses It:

* Websites that deliver MegaVideo movie streaming can use this file to give their users the ability to download files.



Script requirements:

* MegaVideo premium membership.
* PHP 4 and UP.
* PHP CURL.
* Ability to CHMOD files to 700.

For Demo and to Download, Visit:
http://www.awesomephp.com/?MegaVideoDownloader

Peace,
gmvu.php

<?php
/************* MegaVideo Downloader *******************/
/*
Released by AwesomePHP.com, under the GPL License, a
copy of it should be attached to the zip file, or
you can view it on http://AwesomePHP.com/gpl.txt
*/
/************* MegaVideo Downloader *******************/

// Cookie File
$COOKIE_FILE = 'mv_cookie.txt';

//MegaVideo Username (premium)
$USERNAME = 'username';

//MegaVideo Password (premium)
$PASSWORD = 'password';

/*
get_url function is invoked when
the movie file is the flash and not
the movie page
*/
function get_url($id){
$fp = fsockopen ('www.megavideo.com', '80', $errno, $errstr, 30);
if ($fp){
$query = "GET /v/$id HTTP/1.1\r\n";
$query .= "Host: www.megavideo.com\r\n\r\n";
fputs($fp, $query);
while (!feof($fp)){
$buf .= fgets($fp,128);
}
fclose ($fp);
} else {
return NULL;
}
preg_match("/location: (.+)\n/U", $buf, $url);
$temp = explode('v=',$url[1]);
$temp2 = explode('&',$temp[1]);
return "http://www.megavideo.com/?v=".$temp2[0];
}

/*
function to get the download link
from megavideo
*/
function get_dlink($vlink,$COOKIE_FILE,$USERNAME,$PASSWORD){
/*
If cookie file doesn't exist, it means we need to login
*/
if(!is_file($COOKIE_FILE)){
//URL
$url = 'http://www.megavideo.com/?s=signup';

/* Post Data */
$postData['nickname'] = $USERNAME;
$postData['password'] = $PASSWORD;
$postData['action'] = 'login';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_COOKIEFILE, $COOKIE_FILE);
curl_setopt($ch, CURLOPT_COOKIEJAR, $COOKIE_FILE);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 50);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
$buffer = curl_exec($ch);
curl_close($ch);
}
/*
Check link format, and if we need to get
link of actual movie page
*/
if(eregi('/v/',$vlink)){
$temp = explode('v/',$vlink);
$final_link = get_url($temp[1]);
} else {
$final_link = $vlink;
}

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$vlink);
curl_setopt($ch, CURLOPT_COOKIEFILE, $COOKIE_FILE);
curl_setopt($ch, CURLOPT_COOKIEJAR, $COOKIE_FILE);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_TIMEOUT, 50);
$buffer = curl_exec($ch);
curl_close($ch);
preg_match('|BORDER="0" ALT=""></a> <a href="(http.*)" target="_blank" style="font-weight:normal; ">Download original</a>|U',$buffer,$result);
return $result[1];
}



/*
Test
*/

echo "Getting link for http://www.megavideo.com/?v=17JIAQW9<br/>";
echo get_dlink('http://www.megavideo.com/?v=17JIAQW9');

echo "Getting link for http://www.megavideo.com/v/17JIAQW97d2eb89ed9a082ebafdc64591627b648.5621461736.0<br/>";
echo get_dlink('http://www.megavideo.com/v/17JIAQW97d2eb89ed9a082ebafdc64591627b648.5621461736.0');
?>

Result : http://www.awesomephp.com/Demos/MegaVideoDownloader/gmvu.php
try adding Querry strong its like
gmvu.php?url=http://www.megavideo.com/?v=17JIAQW9
result:http://www124.megavideo.com/files/610d0fb0eadb26f410aa02ff5f79f9b6/domino.wmv

$url=$_GET["url"];

echo "Getting link for $url<br/>";
echo get_dlink('$url');
?>



that should do it but i really did try bypasing the user and pass doesnt work with out it if some 1 beside @Emre Korkmaz

who like to help bypassing post your modified code below as Emre stated he will nt release his avi code but this code is totally different it grabs the orignal file that is uploaded to megavideo.com it could be any video format.

Jul. 28, 2008me

pastel
that script work fine but u most add the username and pas in too your script

"//MegaVideo Username (premium)
$USERNAME = 'username';

//MegaVideo Password (premium)
$PASSWORD = 'password';
"

Jul. 29, 2008dkblackhawk

Emre Korkmaz can i buy that megavideo avi script off ya?just name a price and ill pay for it

Jul. 30, 2008dkblackhawk

5 dollars sweet uh what type of payements do you accept? and on some megavideos using your script it just shows a blank example
edit: none of the videos are working on the script....i hope this problem gets fixed soon.

Jul. 30, 2008dkblackhawk

uh what....just happend here...

Jul. 30, 2008dkblackhawk

will the real emre krokmaz please give me his msn the real one!

Jul. 30, 2008Ghostt

did megavideo change the script again ?coz the avi script dind work again. o.o
what happend ? :O

Jul. 30, 2008dkblackhawk

yeah im wondering what happend to and with what happened in the previous comments im starting to wonder who is actually Emre Korkmaz

Jul. 30, 2008Emre

Meelu does not work any more...

firefoxpoint.com/meelu/megavideo.php?id=MEGAVIDEOID

Jul. 30, 2008Megavideo Admin

Dear Member of Jeroenwijering

We are changing code regularly and I like to thank jeroenwijering for hosting this forum and all the members for sharing their code due to which we could keep track of security issues. We would allow you to download original videos but it is taking a toll on our server bandwidth. We ask you to give us ideas on how we could help improve the flash player so you could integrate it into your blogs, forums etc.

Please reach us at the email at the bottom with your ideas.

Your Sincere
Megavideo Admin

idea@megavideo.com

Jul. 30, 2008Xevor

grr... idea @ i need a player that does full screen and that i can embed the files with the ?v=id your player can't even do that and it's frustrating to keep track of the bloody id of the videos without that.

Jul. 30, 2008dkblackhawk

never and i mean never again share the bloody code email it to someone instead and keep it bloody private!

Jul. 30, 2008leecher

Dear Megavideo Admin,

For a start, I don't know whether you are fake or not, but a pro site would never address a forum like this, and would get his grammar right (it's members not member, more than one of us here!).

Anyway if you are the real admin, heres some tips, get rid of your stupid ads on the player, allow full screen, improve video quality, the list can go on...

By the way, changing your codes won't stop us, there are always coders out there who are just as good or better than yours. Its a neverending battle, you change your codes tomorrow and within 24 hours we will have cracked it, so you best have come up with something good this time. We do like a challenge!

Regards

Leecher

Jul. 31, 2008Xevor

I have no major problems with the YouTube API (except that it doesn't stretch properly, but that will be fixed). Just do something like that. Have it have your logo in the corner and that's it.

I was quite content to use a script to get the flv's for YouTube which had no logo on them, until the API got integrated into the media player here. Yet, I now quite nicely load the videos with the YouTube logos on them and I have found many wonderful uses for it.

So long as I can load my video into my own choice of player with a URL of http://www.megavideo.com/?v=V5LJ6ZC9 instead of this crap: http://www.megavideo.com/v/V5LJ6ZC91c2dbca8b720f45a906464a6f4f6afb7.6835878571.0 I will be content. I will even stick a link back to the actual MegaVideo page directly below the video that is playing. Mostly because it is convenient for people who want to comment, but it will still drive traffic back to you.

Jul. 31, 2008weblaffin

We are with you!!

but we waiting a alternative because Emre api finde don't work any more :(

Thank you!

Jul. 31, 2008weblaffin

Let`s create a private conference!

Jul. 31, 2008Emre Korkmaz

Some lifeless losers are using my username to spam i hope jeroen allows registration before post soon so this doesnt happen.
And about the megavideo api for avi its down for now and will be back up soon.

İf you are the megavideo admin please drop me an email at eskick@gmail.com from your domain and lets discuss this.

also if you are not the megavideo admin please dont even bother il trace it right back to you.

Jul. 31, 2008Vadi_G

lets hope avi script up soon.

here is an working flv link example:
http://gplaya.freehostia.com/mega/mega.php?file=0R8W2V70


Here is my phpcode (save as mega.php):
<?php
// Vadi_G Megavideo Flv Finder PHP

function mv_decrypt($str_hex, $key1, $key2){
$str_bin = "";
// 1. Convert hexadecimal string to binary string
for($i = 0; $i < 128; $i++){
$str_bin .= floor(hexdec($str_hex[floor($i/4)])/pow(2,(3-($i%4))))%2;
}
// 2. Generate switch and XOR keys
$key = Array();
for ($i = 0; $i < 384; $i++){
$key1 = ($key1 * 11 + 77213) % 81371;
$key2 = ($key2 * 17 + 92717) % 192811;
$key[$i] = ($key1 + $key2) % 128;
}
// 3. Switch bits positions
for ($i = 256; $i >= 0; $i--){
$temp = $str_bin[$key[$i]];
$str_bin[$key[$i]] = $str_bin[$i%128];
$str_bin[$i%128] = $temp;
}
// 4. XOR entire binary string
for ($i = 0; $i < 128; $i++){
$str_bin[$i] = $str_bin[$i] ^ $key[$i+256] & 1;
}
// 5. Convert binary string back to hexadecimal
$str_hex = "";
for($i = 0; $i < 32; $i++){
$str_hex .= dechex(bindec(substr($str_bin, $i*4, 4)));
}
// 6. Return counted string
return $str_hex;
}

// Is set the "file" variable?
if(isset($_GET["file"])){
// Does player send video position?
$pos = (isset($_GET["pos"]) ? intval($_GET["pos"]) : "");
//Obtain Megavideo ID from link
$megavideo_id = $_GET["file"];
// Obtain Megavideo XML playlist file
if ($content = @file_get_contents("http://www.megavideo.com/xml/videolink.php?v=".$megavideo_id)){
// Parameters which I want to obtain from XML;
$parameters = Array("un", "k1", "k2", "s", "size");
$success = true;
// Obtain parameters from XML one by one
for($i=0; $i<Count($parameters); $i++){
$success = $success && preg_match('/ ' . $parameters[$i] . '="([^"]+)"/', $content, $match);
$$parameters[$i] = $match[1];
}
if($success){
// Count "dkey" from obtained parameters
$dkey=mv_decrypt($un,$k1,$k2);
// set URL address of video file
$video_url = "http://www".$s.".megavideo.com/files/".$dkey."/".$pos;
// Send headers to browser
header("Content-Type: video/flv");
header("Content-Disposition: attachment; filename=video.flv;" );
header("Content-Length: ".$size);
// Read video file from Megavideo server
readfile($video_url);
}
}
}
?>




EMBED
<embed
src="http://www.jeroenwijering.com/embed/player.swf"
width="542"
height="386"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="height=386&width=542&file=http://gplaya.freehostia.com/mega/mega.php?file=<?php echo $_GET['file']; ?>#flvℑ=http://g-stream.in/img/G-Streamburst1.png&backcolor=0xf97509&frontcolor=0x000000&lightcolor=0xFFFFFF&screencolor=0x000000&logo=http://g-stream.ddl.cx/img/minilogo2.png&link=http://gplaya.freehostia.com/mega/mega.php?file=<?php echo $_GET['file']; ?>&showdownload=true"
/>

Jul. 31, 2008weblaffin

I hope so.... we waiting .avi script...

Vadi_G EMBED work but it`s slow loading....

Thank you for all!

Jul. 31, 2008lol

@Vadi_G

Hosting the videos yourself (proxy) isn't the solution. If your site gets even remotely popular, you'll be sued for hosting copyright infringing content. Assuming your ISP/webhost doesn't shut down your site for all the bandwidth it will use, first.

Jul. 31, 2008weblaffin

YES, YOU RIGHT!!

Jul. 31, 2008weblaffin

Admin please BAN IP THIS FAKE Emre Korkmaz

Jul. 31, 2008dkblackhawk

wow dude take a chill pill it aint the end of the world....

Jul. 31, 2008weblaffin

your mum is a bitch.. because born a shit like you...

Jul. 31, 2008Xevor

what an annoying waste. can somebody please ban the IPs that are doing that?

Jul. 31, 2008dkblackhawk

yes can someone please or make it so that you need to have a password for this site...

Jul. 31, 2008weblaffin

Good ideea ...

Jul. 31, 2008Vadi_G

here is a working mega avi player, but not to embed it on a site...

http://www.filebase.freehoster.ch/megavideo/megavideo/megavideo.php

emres script should be back online in 24h

Aug. 02, 2008LongTail

If you are the person admin or a staff of megavideo.com and if we find out that you are spaming out website, we will destroy megavideo.com thats all good day.

Aug. 02, 2008FOxy

@Vadi_G u fuking noob stop puting ur name on that php script it doesnt made by u f@g as s grabber cock suker go fuk ur self u stupid leecher. u know exactly u who u ripped this code from and feeding it to spammers du king dick head i am ever releasing any s here every dum fu king noob . fuck all the spammer and fuck you vadi

Aug. 02, 2008Ghostt

Clean someone this fukin theard

Aug. 02, 2008dkblackhawk

yeah please ban these friggin spammers its getting annoying to view anything in this thread....

Aug. 03, 2008weblaffin

It`s a romanian bitch...

(FUTUTI MORTII MATII DE RAPANDUL)

Aug. 03, 2008Ghostt

find out something of him in his forum and just fukin kill him....

http://ksklan.freehostia.com

Aug. 04, 2008what in the worl

wht was this all about

Aug. 07, 2008hialo

i need a script so i can fetch megavideo.com image as well

http://www.megavideo.com/?c=profile_videos&user=zarakiu

check this videos out

http://www.megavideo.com/?v=50GRLGYF this is the image display of this http://img10.megavideo.com/7/0/5d50afdda75f8e1b6b2438d7510141.jpg
know how to to fetch image as well? let me know thanks witha php script byebye
also any 1 know the code how 2 fetch

the follwing Tudou, Youku, 56.com mtv.com imeem.com megaupload.com
http://www.mtv.com/music/charts/

Aug. 07, 2008Azu

@hialo

http://freethepenguins.com/v=URL GOES HERE!jpg

Aug. 07, 2008Johny

@Azu

some solution for flv link ??

Aug. 07, 2008hailo

it doesnt work i tried something like

<img src="http://freethepenguins.com/v=http://www.megavideo.com/?v=50GRLGYF!jpg" alt="Click Here to load Megavideo" width="60" height="40" onclick="javascript:getFile('http://www.megavideo.com/?v=50GRLGYF');" />

it doesnt work any solution?

Aug. 08, 2008Azu

@hailo
Whoops looks like they blocked the proxy I was using sorry, had to switch it to another one. Should work again now.


@Johny
Some examples I posted in other topic:

If you have PHP

<?php
$url='http://www.crunchyroll.com/media-388556/asdfasdf.html';//Example link, replace with the link you want to play
$autostart=false;//Set this to true if you want the video to start automatically

$x=simplexml_load_file('http://av.freethepenguins.com/'.$url);echo'You are watching <b>',$x->title,'</b>, a ',$x->duration,' second long ',(empty($x->bitspersec)?'':round($x->bitspersec/1000).' kbps '),'video from <b>',$x->host,'</b> that was uploaded by <b>',$x->uploader,'</b>',(empty($x->uploaded)?'':' at '.date('Y-M-d h:i:s A',(int)$x->uploaded)),'.<br/>',$x->broken==1?'Sorry, this video is broken.':'<object type="application/x-shockwave-flash" data="http://freethepenguins.com/yt" width="450" height="359"><param name="allowFullScreen" value="true"/><param name="FlashVars" value="file='.$x->file.($autostart?'':'&autostart=false').'"/><param name="movie" value="http://freethepenguins.com/yt"/><a href="http://macromedia.com/go/getflashplayer" onclick="window.open(this.href);return false;">Install Flash</a></object>';
?>


Else try

<object type="application/x-shockwave-flash" data="http://freethepenguins.com/yt" width="450" height="359"><param name="allowFullScreen" value="true"/><param name="FlashVars" value="file=http://www.crunchyroll.com/media-388556/asdfasdf.html&autostart=false"/><param name="movie" value="http://freethepenguins.com/yt"/><a href="http://macromedia.com/go/getflashplayer" onclick="window.open(this.href);return false;">Install Flash</a></object>


Just replace the example link with the link to the video you want to use.
Currently supports: 123video, crunchyroll(H264), Funny or Die, GoFish, Google Video, Guba, LiveLeak, LiveVideo, MEGAROTIC, MEGAVIDEO, MySpaceTV, Putfile, TUBE8, Tudou, Veoh, Vimeo(H264), Yahoo! Video, YouPorn, YouTube(H264)


Megavideo/megarotic are going to be a bit slow since for now the only way to get them working is proxy.

Aug. 10, 2008opengirl

with veoh it dont work`?

Aug. 10, 2008Azu

@opengirl

Yes it works

Aug. 10, 2008opengirl

i used tthis link http://www.veoh.com/videos/v15534859m9YGmXW7 like that. and it dont start

<object type="application/x-shockwave-flash" data="http://freethepenguins.com/yt" width="450" height="359"><param name="allowFullScreen" value="true"/><param name="FlashVars" value="file=http://www.veoh.com/videos/v15534859m9YGmXW7"/><param name="movie" value="http://freethepenguins.com/yt"/><a href="http://macromedia.com/go/getflashplayer" onclick="window.open(this.href);return false;">Install Flash</a></object>

Aug. 10, 2008Johny

@Azu

It isnt 100% working for megavideo. Play only a few seconds..Some any solution ??

Aug. 12, 2008Azu

@opengirl
Should be working.. post a link to the page you have it on and I'll check it out


@Johny
It's impossible for anyone to support megavideo perfectly right now, since the only way to get it working at all is through proxies. If you know of a proxy that can support 100-1000 megabyte files and can be accessed in the form of http://www.proxy.com/http/website.com/file.flv or something similar, please tell me, and I'll use it.

Aug. 15, 2008Johny

@Azu
ok, but when i have premium membership megavideo is there some solution ??
This isnt me working:
http://www.awesomephp.com/?MegaVideoDownloader

Is it my fault or it isnt working already ?? Thanks

Aug. 24, 2008hailo

i got question if i wanted to add autostart=true which i did but i dont want it to do auto repeat how do i stop it from auto repeating?

Aug. 25, 2008pedo

mani_mf74@hotmail.com

Aug. 26, 2008RAJ

im from qatar..nd meagavideo shows connection problem while buffering!!

Aug. 27, 2008joemax

It's annoying that the embedded player of Megavideo doesnt work most of the time.

It sometimes says This video is temporarily unavailable, please try again later.

yet when this message is displayed The video only works at megavideo.com and makes the embedded player useless. So even with proxies you need something else also so the video will work.

Sep. 04, 2008Terrakio

here he use proxy to
http://tictacvid.com

Sep. 27, 2008Daiphyer.com

Looks like megavideo is not working on with the previous solution. It only downlaods 1 second, and the transfer stops.

Sep. 28, 2008Daiphyer.com

never mind. Looks like they only blocked some of the proxies.

Oct. 02, 2008The Geekzzz

did megavideo change their xml path?

i enter http://www.megavideo.com/xml?videolink.php?v=8digit

yet it return video is temporary unavailable.

Oct. 03, 2008Daiphyer.com

change first ? to /
http://www.megavideo.com/xml/videolink.php?v=8digit

Oct. 04, 2008nakedsoul

azu your megavideo script worked one time but now its not :(

would it be posible if you show the script? so we can improve it maybe and change color of the player wink

thanks

Oct. 16, 2008MeiFon

Hey, yeap, the megavideo script can't work anymore. Any new one? Thanks

Oct. 19, 2008Silver8000

Hi all....


I made a script for megavideo.com

here is my adress and you can also see the code by viewing source.

http://war-ex.com/web-players/megavideo/megavideo.php?id={VIDEO}

insted of this

http://www.firefoxpoint.com/meelu/megavideo.php?id=MEGAVIDEOID

which cann't copy - the script are hidden.

If you embed it to another set of iframe so your final look can be like this :

http://img206.imageshack.us/img206/2986/showmegavideocomgb3.gif

have fun regarding to everyone

Oct. 20, 2008Donathin

nice job and Welcome back Emre Kormez ^ ^ but we found a better way, mew mv is out u know where to find it dont u ^ ^.

Oct. 23, 2008Baron

Donathin can I see it?

Oct. 31, 2008Ozu

Hello @Azu Check your email

or check this link http://nopaste.com/p/ahCvZMTDG

Nov. 11, 2008Arvind

hi hialo,

I have spent more time to get the thumbnail for Megavideo

Please can you post the php script.

Thanks.

Nov. 11, 2008Arvind

Please can any one Post the Script to get the thumbnail url. for supernovatube

Thanks.

Nov. 11, 2008Marvin

If your talking about the mini pictures that show up during and before, all you need to do (in firefox)

1) Copy and paste your video page/picture page that you want the thumbnail off, then:

2) Click on Tools > Clear private data > Cache and click OK. (Only select cache)

3) Then goto the browser address area and type in "about:cache" (without the quotes) then you see "Disk cache device" click on where it says "List Cache Entries"

4) Now, in a new tab window paste the link for your video you copied earlier. Let the page load for around 5 seconds, then go back to the tab with your cache info and hit refresh. You will see all the links that was produced from that page.

From here it will be VERY simple to spot out which ever one it is your need. (around 10 jpg files will show) Hope this helps.

Nov. 11, 2008Arvind

Hi Marvin

Thank you for your information

But i need only the thumbnail url for specific (Supernovatube) video, because i need to keep the image in My Local Server.

If you have means Please post the php script.

Nov. 14, 2008hail

bro u gota search for it on jw search box its stil their all u gota do ais find it , wasnt madebyme made byperson who posted the the php code.

Nov. 15, 2008Steven

hi,
how can i get the embed code of a megavideo video starting from the url ? there's a php code??
thanks

Nov. 19, 2008Suki

Hi, whenever I load up megavideo it says at the bottom "23 items remaining" then as it gets to two nothing happens. do you have any idea why that is?

It used to work perfectly for me

Nov. 21, 2008Emre Korkmaz

Just make a script which grabs original file url, upload a file in FLV format use the generator and embed, how fuckin hard can it be im tryin to tip people off with what i do here :P lol
alright its easy, for the first time ever im sharing the megavideo avi grabber well u can call it original file grabber but i only use it for avis so i made it like this:
<?php
// Megavideo original file grabber 21 November 2008 made by Emre Korkmaz
$w = $_GET['url'];
$url = "http://www.megavideo.com/xml/player_login.php?u=--User Cookie Here---&v=".$w;
$html = file_get_contents($url);
if (preg_match('/http(.*?).\.avi/', $html, $result)) {
$link = urldecode($result[0]);
echo $link;
} else {
echo "call with ?url= megavideo id generates avi file url.";
}
?>


Alright this is my script, what you do it replace --User Cookie Here--- with your premium user cookie.
This will be something like an md5 in your cookies 32 character.

If you dont have a premium username and pass use my site as an api.

Nov. 23, 2008nakedsoul

Emre Korkmaz >>If you dont have a premium username and pass use my site as an api.

but whats the URL ? http://www.firefoxpoint.com/meelu/megavideo.php?id= still dont work :/

Nov. 23, 2008alex

heh doesn't work.

Nov. 23, 2008Emre Korkmax

http://www.firefoxpoint.com/meelu/megavideo.php?id= is not the correct url
like i stated
http://www.firefoxpoint.com/meelu/megavideo.php?url=
is grin

Nov. 23, 2008Chris

Hi, Everytime i try open megavideo, it loads part of the website and then says at the bottom (23 items remaining) and doesnt load. then after about 5 mins, after i have left it there is a white box with a red cross in it wherever there should be an item, do you know what i can do to fix this please. i am using internet explorer 7.

Nov. 23, 2008alex

well all it says on the page is :
" call with ?url= megavideo id generates avi file url. "
This is what is on my bar:
http://www.firefoxpoint.com/meelu/megavideo.php?url=28OUKKCP and i also tried:
http://www.firefoxpoint.com/meelu/megavideo.php?url=http://www.megavideo.com/?v=28OUKKCP

see if u can help out now.

Nov. 25, 2008nando

script of Emre not work anymore sad

Nov. 26, 2008nakedsoul

why ? :/

Nov. 28, 2008aLvin

@Vadi_G: DO YOU HAVE THE UPDATED & WORKING ONE FOR THIS SCRIPTS?
<?php

function mv_decrypt($str_hex, $key1, $key2){
$str_bin = "";
// 1. Convert hexadecimal string to binary string
for($i = 0; $i < 128; $i++){
$str_bin .= floor(hexdec($str_hex[floor($i/4)])/pow(2,(3-($i%4))))%2;
}
// 2. Generate switch and XOR keys
$key = Array();
for ($i = 0; $i < 384; $i++){
$key1 = ($key1 * 11 + 77213) % 81371;
$key2 = ($key2 * 17 + 92717) % 192811;
$key[$i] = ($key1 + $key2) % 128;
}
// 3. Switch bits positions
for ($i = 256; $i >= 0; $i--){
$temp = $str_bin[$key[$i]];
$str_bin[$key[$i]] = $str_bin[$i%128];
$str_bin[$i%128] = $temp;
}
// 4. XOR entire binary string
for ($i = 0; $i < 128; $i++){
$str_bin[$i] = $str_bin[$i] ^ $key[$i+256] & 1;
}
// 5. Convert binary string back to hexadecimal
$str_hex = "";
for($i = 0; $i < 32; $i++){
$str_hex .= dechex(bindec(substr($str_bin, $i*4, 4)));
}
// 6. Return counted string
return $str_hex;
}

// Is set the "file" variable?
if(isset($_GET["file"])){
// Does player send video position?
$pos = (isset($_GET["pos"]) ? intval($_GET["pos"]) : "");
//Obtain Megavideo ID from link
preg_match_all('/[^=]*/',$_GET["file"],$match);
$megavideo_id = $match[0][0];
//print_r ($match);
// Obtain Megavideo XML playlist file
if ($content = @file_get_contents("http://www.megavideo.com/xml/videolink.php?v=".$megavideo_id)){
// Parameters which I want to obtain from XML;
$parameters = Array("un", "k1", "k2", "s", "size");
$success = true;
// Obtain parameters from XML one by one
for($i=0; $i<Count($parameters); $i++){
$success = $success && preg_match('/ ' . $parameters[$i] . '="([^"]+)"/', $content, $match);
$$parameters[$i] = $match[1];
}
if($success){
// Count "dkey" from obtained parameters
$dkey=mv_decrypt($un,$k1,$k2);
// set URL address of video file
$video_url = "http://www".$s.".megavideo.com/files/".$dkey."/".$pos;
// Send headers to browser
header("Content-Type: video/flv");
header("Content-Disposition: attachment; filename=video.flv;" );
header("Content-Length: ".$size);
// Read video file from Megavideo server
readfile($video_url);
}
}
}
?>

Nov. 29, 2008alex

lol i found an easy way to download the megavideo videos with a program lol.
no need in unlimited account

Nov. 29, 2008AlvintR

@alex, we are talking about streaming video online, not to download file from megavideo.

Nov. 30, 2008Ryok

can someone send a working script on playing megavideo and veoh video on jw player.. im willing to pay. pls email me@ evilryok@gmail.com

Nov. 30, 2008Stan

Hello,

Recently megavideo changed their player and now I'm wondering if there's a alternative to embedding using their embeded code.

I used to use an I-Frame code that would work well and that way when people click on the video it would not take them through to the megavideo page.

Now I am using their new embeded code and i don't like it. Everytime you start a video and then click on it, it takes you to the megavideo website.

Does anyone know if you can embed megavideo's using the JW player or is there any another method to embed the videos with their new player so you can't click though?

Let me know. Thank You

Dec. 02, 2008laura

please do anyone have the subscruption for megavideo account? plis help me i cant see the finall part of a great movie

Dec. 02, 2008Tom

please do anyone have the subscruption for megavideo account? plis help me i cant see the finall part of a great movie
haha- you're joking right? If it's that great why don't you pay for it? This isn't the place to be posting such messages anyway.

Dec. 03, 2008nakedsoul

laura you newb just reconnect to change your ip

Dec. 03, 2008Stan

how do we grab flv file from megavideo to stream by FLV Player now guys?

Dec. 03, 2008alex

just wait for him to fix his source? i would like the avi link grabber tho

Dec. 05, 2008aLvintR

Hello,

Recently megavideo changed their player and now I'm wondering if there's a alternative to embedding using their embeded code.

I used to use an I-Frame code that would work well and that way when people click on the video it would not take them through to the megavideo page.

Now I am using their new embeded code and i don't like it. Everytime you start a video and then click on it, it takes you to the megavideo website.

Does anyone know if you can embed megavideo's using the JW player or is there any another method to embed the videos with their new player so you can't click though?

Let me know. Thank You


THE THING IS IT'S HAS TIME LIMITED NOW...

Dec. 11, 2008stef

Hi guys does anyone knows how to get flv video files from zshare so that it can be played through jw player?

I have the php code that pulls .wmv files from zshare but the code is not working for flv videos. In not a php expert so i dont know which variable i have to change so that it can pull the flv link.

Anyone who has the code please share Thanks. .........

Dec. 14, 2008aLjW

stef@ post your script up here so we can take a look.

Dec. 15, 200812inch Long tail

@Stef

wmv is windows media format that cant be played in flv player but in can be played in jw silver light plugin wmv player. and the zshare code is really easy its only two lines.

Dec. 16, 2008Sazu

http://www.apunkadesi.com/

this one is working

stef send me ur wmv script i can change it to flv

lovesazu [at] hotmail [dot] com

Dec. 19, 2008s ex

mfvkfovk

Dec. 19, 2008embed zshare.net

hellow guys.. i have been onto one site which is embedding videos from zshare.net servers
the problem with zshare embedding is that it the file path keep on changing each time you visit the link
an example is

Code:
http://www.zshare.net/video/39062271789b05 this link.. when u goto this link.. and check the properties of the video file.. it keeps on changing with each refresh you make!

but i have been on a site which is
Code:
www.moviegrounds.com they are embedding the zshare link on their website using some script!

the path to that script using the same above zshare link is
Code:
http://www.it-guru.co.uk/tv/player.cfm?zurl=http://www.zshare.net/video/39062271789b05/" width="375" height="299" frameborder="0" scrolling="no"

they are using iframe to use this script on their site.. and using leech protection because of which we can not use the same player.cfm link onto our site!

so i was wondering if someone here know how to get this player.cfm file which is getting the zshare link to work with embedding!

if some one here know about it please share your info with us!
thanks

Dec. 20, 2008Zshare.com

any one leeching or embed our video will be in serious trouble. please be advice any one doing so will be suited to the full extent of the law. if you read our agreement copyright.

Dec. 20, 2008Graxeon

You fail for being a retard.

At least type the reply correctly, idiot.

Dec. 22, 2008embed zshare.net

plzzz you you cant help me i want script embed zshare.net

www.zshare.net/video/52368865cdf5bb90

id zshare.net 52368865cdf5bb90

fichier down

www.Frmovies.net/down3.php?id=52368865cdf5bb90

i want this script plzzzz

Dec. 29, 2008Dinold

How do you embedd zshare.net videos into your own site. or how do you even pull the actually orginal link


This site is using this script

http://www.iupload.us

But how do they do it /

Please help

Dec. 29, 2008Jenz

i've one party of this Soulition but the other party i don't have it :(
Who knows about JAVASCIPT coder

Please i'll give you faile & we can share it wink
that's my email : 4hellz@gmail.com

Jan. 03, 2009A.TA

does anyone know how to like this website?

http://videos.caysi.net/?episode=14811

Jan. 04, 2009hugoboss

http://videos.caysi.net ->Our website just finished take away the access limited from MegaVideo & Megaporn. Now we are streaming file direct from their original files which are contain .avi, .flv, .divx, .wmv ettcc.... Now you must need those kind of Plugins to requires to watch videos.
------------------
- They successed to grab premium link from mega regular link. This is the one i am looking for. This website use a open source, it can play or embed from many popular video hosting. Very flexible with admin panel. But i only concern about Grabing mega link fuction. I emailed some moderator working on this site but they can't give support. Only 1 thing i got : "this function only work on this webside.." That mean they are still using the customize's original code with Mega ID and password. I look at this code and it very similar with the opensoure above.
- They rigth, i try to get this .avi movie link and put on my website but it completly doen't work (because i don't have Premium acc to make cookie)
- My demo webpage: http://adult.vietally.us
This is the Grab function on open source
<?php
if (!defined('IN_MEDIA')) die("Hacking attempt");
function get_contents_c($post_vars_p,$url_p,$ua){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url_p);
if (empty($ua)) curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)");
if (isset($post_vars_p)) {
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$post_vars_p);
}
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
return curl_exec($ch);
curl_close($ch);
}

function getlink($host,$link,$cookie) {
$out = "GET $link HTTP/1.1\r\n";
$out .= "Host: ".$host."\r\n";
$out .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6\r\n";
$out .= "Referer: http://www.google.com/\r\n";
$out .= "Cookie: $cookie\r\n";
$out .= "Connection: Close\r\n\r\n";
if (!$con = @fsockopen($host, 80, $errno, $errstr, 10))
return $errstr." ".$errno;
fwrite($con, $out);
$data = '';
while (!feof($con)) {
$data .= fgets($con, 512);
}
fclose($con);
return $data;
}

function getCookie($host,$link) {
$out = "GET $link HTTP/1.1\r\n";
$out .= "Host: ".$host."\r\n";
$out .= "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6\r\n";
$out .= "Referer: http://www.google.com/\r\n";
$out .= "Content-Type: application/x-www-form-urlencoded\r\n";
$out .= "\r\n";
if (!$con = @fsockopen($host, 80, $errno, $errstr, 10))
return $errstr." ".$errno;
fwrite($con, $out);
$data = '';
while (!feof($con)) {
$data .= fgets($con, 512);
}
fclose($con);
preg_match("#Set-Cookie:(.*?)Vary:#s",$data, $res);
return $res[1];
}

function getcode($host,$link) {
$out = "GET $link HTTP/1.1\r\n";
$out .= "Host: ".$host."\r\n";
$out .= "User-Agent: Mozilla 4.0\r\n";
$out .= "Referer: http://google.com/\r\n";
$out .= "Connection: Close\r\n\r\n";
if (!$con = @fsockopen($host, 80, $errno, $errstr, 10))
return $errstr." ".$errno;
fwrite($con, $out);
$data = '';
while (!feof($con)) {
$data .= fgets($con, 512);
}
fclose($con);
return $data;
}

function get_link_tamtay($url) {
if (preg_match('#tamtay.vn/video/play/config/([0-9]+)#', $url, $id_sr)){
$id = $id_sr[1];
$path = "http://video.tamtay.vn/video/play/config/".$id."/1";
$post_var=' ';
$contents = get_contents_c($post_var,$path,NULL);
if (preg_match('#url: \'([^\']+)\'#', $contents, $url_flv)) {
$url = $url_flv[1];
$url = str_replace('media1','media',$url);
}
else $url = "Lỗi !!!";
}
return $url;
}

function get_link_veoh($url) {
$id=explode('videos/',$url);
$url_after='http://www.veoh.com/rest/video/'.$id[1].'/details';
$file=getcode('www.veoh.com',$url_after);
$parse_1=explode('fullPreviewHashPath="',$file);
$parse_2=explode('"',$parse_1[1]);
$url=$parse_2[0];
return $url;
}

function get_link_blogvn($url) {
$s = explode('_',$url);
$s1=explode(".html",$s[1]);
$id=$s1[0];
$link='http://blog.com.vn/home/relatemovie.ashx?videoid='.$id;
$data=getcode('blog.com.vn',$link);
$url_64 = explode('<path1>', $data);
$url_64 = explode('</path1>', $url_64[1]);

$url_320 = explode('<path2>', $url_64[1]);
$url_320 = explode('</path2>', $url_320[1]);

$url_512 = explode('<path3>', $url_320[1]);
$url_512 = explode('</path3>', $url_512[1]);

$name=explode('<name>', $url_512[1]);
$name=explode('</name>', $name[1]);
//Link Chat Luong Thap
//$url=$url_64[0];
//Link Chat Luong Binh Thuong
$url=$url_320[0];
//Link Chat Luong Cao
//$url=$url_512[0];
return $url;
}


function get_link_clipvn($url) {
// $url_clip = preg_split("/,/", $url);
$pattern1 = '#http:\/\/clip.vn\/w\/([^,]+),#';
preg_match($pattern1, $url, $id_sr);
$id = $id_sr[1];
$fp = fsockopen("clip.vn", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET /movies/nfo/".$id." HTTP/1.1\r\n";
$out .= "Host: clip.vn\r\n";
$out .= "User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6\r\n";
$out .= "Referer: http://www.google.com/\r\n";
$out .= "Connection: Close\r\n\r\n";

fwrite($fp, $out);
while (!feof($fp)) {
$url_contents .= fgets($fp, 128);
}
fclose($fp);
}
preg_match('#enclosure url="([^"]+)"#', $url_contents, $url_flv);
$url = $url_flv[1];
return $url;
}

function get_link_chacha($url) {
$data=file_get_contents($url);
$parse=explode('<location><![CDATA[',$data);
$parse=explode(']]></location>',$parse[1]);
$url = $parse[0];
return $url;
}
?>
.
And


function set_type($file_type) {
$html = "<select name=file_type>".
"<option value=0".(($file_type==0)?' selected':'').">DEFAULT</option>".
"<option value=1".(($file_type==1)?' selected':'').">OTHER</option>".
"<option value=2".(($file_type==2)?' selected':'').">FLASH</option>".
"<option value=3".(($file_type==3)?' selected':'').">VIDEO</option>".
"<option value=5".(($file_type==5)?' selected':'').">FLV</option>".
"<option value=7".(($file_type==7)?' selected':'').">TAMTAY.VN</option>".
"<option value=8".(($file_type==8)?' selected':'').">TIMNHANH.VN</option>".
"<option value=10".(($file_type==10)?' selected':'').">CHACHA.VN</option>".
"<option value=9".(($file_type==9)?' selected':'').">DIVX</option>".
"<option value=11".(($file_type==11)?' selected':'').">CLIP.VN</option>".
"<option value=12".(($file_type==12)?' selected':'').">BLOG.COM.VN</option>";
$html .= "</select>";
return $html;
}



function acp_type(&$url) {
$t_url = strtolower($url);
$ext = explode('.',$t_url);
$ext = $ext[count($ext)-1];
$ext = explode('?',$ext);
$ext = $ext[0];
$movie_arr = array(
'wmv',
'avi',
'asf',
'mpg',
'mpe',
'mpeg',
'asx',
'm1v',
'mp4',
'mp2',
'mpa',
'ifo',
'vob',
'smi',
);

$extra_swf_arr = array(
'www.dailymotion.com',
'www.metacafe.com',
'www.livevideo.com',
);

for ($i=0;$i<count($extra_swf_arr);$i++){
if (preg_match("#^http://".$extra_swf_arr[$i]."/(.*?)#s",$url)) {
$type = 2;
break;
}
}
$is_youtube = (preg_match("#http://www.youtube.com/watch\?v=(.*?)#s",$url));
$is_vntube = (preg_match("#http://www.vntube.com/mov/view_video.php\?viewkey=(.*?)#s",$url));
$is_tamtay = (preg_match("#http://video.tamtay.vn/video/play/([^/]+)(.*)#",$url,$idvideo_tamtay));
$is_tamtay_url1 = (preg_match("#http://www.tamtay.vn/video/play/config/(.*)#",$url));
$is_tamtay_url2 = (preg_match("#http://tamtay.vn/video/play/config/(.*)#",$url));
$is_chacha = (preg_match("#http://chacha.vn/song/(.*?)#s",$url));
$is_clipvn = (preg_match("#http://clip.vn/watch/([^/]+)/([^,]+),#",$url,$idvideo_clipvn));
$is_clipvn_url1 = (preg_match("#http://clip.vn/w/(.*)#",$url));
$is_googleVideo = (preg_match("#http://video.google.com/videoplay\?docid=(.*?)#s",$url));
$is_blogvn = (preg_match("#http://blog.com.vn/Home/([^-]+-(.*)+_)((.*)+)([.^])#",$url,$idblog));
$is_timnhanh = (preg_match("#http://video.timnhanh.com/xem/(.*?)#s",$url));
$is_veoh = (preg_match("#http://www.veoh.com/videos/(.*?)#s",$url));
$is_megavideo = (preg_match("#http://megavideo.com/\?v=(.*?)#s",$url));
$is_megavideo_url = (preg_match("#http://www.megavideo.com/v/([^?]+)#",$url));
$is_baamboo = (preg_match("#http://video.baamboo.com/watch/([0-9]+)/video/([^/]+)/(.*?)#",$url,$idvideo_baamboo));
$is_livevideo = (preg_match("#http://www.livevideo.com/watch.aspx\?vk=(.*?)#s",$url));
$is_sevenload = (preg_match("#http://sevenload.com/~page/swf/player.swf?menu=false&id=(.*?)#".$idvideo_sevenload));
$is_vtv = preg_match("/^mms:\/\/+[a-zA-Z0-9\.]+(.*?)(VTV|VTC|HTV|dn1|dn2)+(.*?)/i",$url);
if ($ext == 'swf' || $is_youtube || $is_googleVideo || $is_megavideo || $is_baamboo || $is_veoh ||$is_megavideo_url) $type = 2;
elseif (in_array($ext,$movie_arr) || $is_vtv) $type = 3;
elseif ($is_tamtay || $is_tamtay_url1 || $is_tamtay_url2) $type = 7;
elseif ($is_timnhanh) $type = 8;
elseif ($is_chacha) $type = 10;
elseif ($is_blogvn) $type = 12;
elseif ($is_clipvn || $is_clipvn_url1) $type = 11;
elseif ($ext == 'divx') $type = 9;
elseif ($ext == 'flv' || 'mp4') $type = 5;
elseif (!$type) $type = 2;
if ($is_youtube) {
$url = str_replace('watch?v=','v/',$url);
}
if ($is_googleVideo) {
$url = str_replace('videoplay?docid=','googleplayer.swf?docId=',$url);
}
if ($is_clipvn) {
$url = "http://clip.vn/w/".$idvideo_clipvn[2].",0";
}
if ($is_tamtay) {
$url = "http://tamtay.vn/video/play/config/".$idvideo_tamtay[1];
}
if ($is_chacha) {
$url = str_replace('song/','embedded/getMedia.php?songId=',$url);
}
if ($is_veoh) {
$url = str_replace('videos/','videodetails2.swf?permalinkId=',$url);
}
if ($is_sevenload) {
$url = "http://sevenload.com/~page/swf/player.swf?menu=false&id=".$idvideo_sevenload[1].",0";
}
if ($is_livevideo) {
$url = str_replace('watch.aspx?vk=','player/flvplayer_embed.swf?vk=',$url);
}
if ($is_megavideo) {
$link=$url;
$data=file_get_contents($link);
$parse=explode('<embed src="',$data);
$parse=explode('" type="application/x-shockwave-flash" wmode="transparent" width="432" height="351"></embed>',$parse[1]);
$url = $parse[0];
}
if ($is_baamboo) {
$url = "http://video.baamboo.com/player/flvplayer_embed.swf?vk=".$idvideo_baamboo[2]."&autostart=true'";
}
if ($is_timnhanh) {
$link=$url;
$data=file_get_contents($link);
$parse=explode('&file=',$data);
$parse=explode('"></embed>',$parse[1]);
$url = $parse[0];
}
return $type;
}


I hope any coder figue out and share best code.
Some more support http://www.mediasharesuite.com/products/video-grabber/

Jan. 20, 2009G-Stream.in

vid23.com supports ATM the download of the original avi megavideo video even if the video is delted.

Jan. 22, 2009cooper

how about from zshare.net, am ready to try but every movie couple minute can`t play please help me!!!!!!!!!!!!!!!!!!!

Jan. 24, 2009John Paul

What is the script for zshare.net please some1 post the working script

Jan. 24, 2009cooper

some people can play about movie from zshare.net in site but am ready take file every thing but like couple menit can can` play

Jan. 24, 2009cooper

link like this http://dl018.zshare.net/stream/e5051d258e3262402ac7604f4624016e/1232853545/54428656/fastpasstv.com-cop2.wmv.flv?start=0&id=player&client=FLASH%20WIN%2010,0,12,36&version=4.3.132&width=480

Jan. 24, 2009cooper

am ready take it everything than i put in my site but not working you now about problem. becuse some body take it working like http://apunkadesi.com/flvplayer.php?id=54428656f2d2b40b

Jan. 24, 2009cooper

please!!!!!!!!!!!! help me

Feb. 02, 2009Ugirl

I have found a good site. Here you can stream and download megavideo streams http://megasave.6x.to/

even if the stream is deleted oo

Feb. 02, 2009Graxeon

All of those websites that you guys linked SUCK.

They just take the original thing and provide it through their URL. I did notice that one of them linked you through one of those "redirecting people for cash" and then to a DIFFERENT website that grabbed the link by using MEGAVIDEO/UPLOAD's download method but through THEIR website.


It's really dumb and pointless wink

Feb. 17, 2009death

hmm i shure wish jw can make a similar looking player for avi files...since most megavideo original urls are avi and i hate divx :\

Feb. 17, 2009Graxeon

Why do you hate DIVX? It owns avi wink

Feb. 21, 2009megavideo flv

have everyone the megavideo flv php script??

Feb. 21, 2009flv script megav

i need the flv script for megavideo????

Feb. 22, 2009Silendreamer

Megavideo and megaupload changed their code again :(

Feb. 23, 2009Hubz

www.vid23.com no longer works with megavideo .

Feb. 24, 2009bumbi

ya , use now http://megasave.6x.to/ to keep your megavideo streams online and download them.

ATM we work on divx stream support to allow you to stream the original avi file. all generated links with megasave.6x.to will change automaticly then to hd divx qualitiy.

english translation
http://translate.google.de/translate?u=http%3A%2F%2Fg-stream.in%2Fmega%2F&sl=de&tl=en&hl=de&ie=UTF-8

enjoy!

Feb. 24, 2009Colin

clever stuff

Feb. 25, 2009Roony

Why it doesn't work in jw player?

Mar. 11, 2009Alex

Any news on this????

Mar. 19, 2009Mat

http://megasave.6x.to/ isn't working, now, either. :(

Mar. 19, 2009postscript

maybe try CBS website (but only sometimes - Numbers seems their only reliable full show) and if not, maybe try TMD. using an IRC like mIRC, go to irc.starfleet.net and type /join tmd-tvrips. If you've installed invision (www.i-n-v-i-s-i-o-n.com) it's easy - point and click. otherwise, you have to highlight and paste. but you can get all kinds of TV shows there

Mar. 23, 2009zshare script

I have a zshare embedding script if you people want it you can contact me grin


angelz_787@yahoo.com

Mar. 25, 2009CRUNCHYROLL SUBS

CRUNCHYROLL SUBS

HOW do we get crunchyroll subtitle?

Anyone know and can sharE? They are protected by RMTPE server.

Apr. 02, 2009zshare fan

need a zshare embed or php script stream or embed what ever if u got it for free email me the scriptr plz .

iwantzshare@trashmail.net

Apr. 05, 2009mike

www.motionempire.com has megavideo hacked at well! How do they do it?

Apr. 10, 2009haudi

WOW Megasave.6x.to support now streaming the original avi file !

it works!
http://Megasave.6x.to

Apr. 17, 2009no way

www.videodownload1.com as well

Apr. 23, 2009ronny

Does anyone know how to embed videos from wisevid.com?

May. 29, 2009jkk

i was able to fetch the megavideo link but it cannot play on the player due to the IP cached problem. i dont know how to by pass this

May. 31, 2009zshare

i am able to help u just email ur code to me at

zshare1@MailEater.com and i ll send it right back at u.

Jun. 03, 2009jkk

i guess i just need to use socket or something fori t.

Jun. 04, 2009zshare

Hi i am selling zshare script wmv and flash each cost u 20$ contact me 4 demo codebrain@live.com

Jun. 15, 2009zshaara01112

I
want to sell a working copy demo
http://www.sro110.site88.net/zshare.php?url=6109161861bc96a7/

price $5 paypal

contact page

http://sro110.site88.net/?page=contact

Jun. 16, 2009need zshare

need a working zshare script for free email me plz

zshare90210@TempEmail.net << email lasts for 14 days after expires.

Jun. 17, 2009Salal

Hi,

How to grab the videos from
Stagevu.com, Eatlime.com, Rajshri.com, BigFlix.com
using PHP

Anybody having script for this plz post here or send it to my mail

salalmail@in.com

Jun. 17, 2009zshare101

contact me

http://sro110.site88.net/?page=contact i can tell where you can get this for free cant post it here too many people viewing this site just those sites i mean above that u posted.

Jun. 18, 2009nana

DUDES CHECK THIS SITE OUT O_O they bypassed the mv limit by playing the file in old mv player O_O... http://dubhappy.com/the-melancholy-of-haruhi-suzumiya-episode-1-english-dubbed/ (click the link in the top right abve the video) can any1 temme how they did it? i wud loved to have this plz

Jun. 19, 2009to nana

oh that!!!!

<div class="realPostItem">
<a id="megac" style="display: none; font-weight: bold; float: right;" href="javascript:removeLimit()">MEGAVIDEO: REMOVE LIMIT (omg new!)</a>
-<a id="animedl2" href="/download.php" target="_blank"><strong>Download This Video</strong></a>-
<div id="vc"></div>
<p><object id="video" type="text/html" data="http://dubhappy.com/nolimit.php?u=TDN3EY60308e61ef15949129533034597f16a8e3.1731346969.0"></object></p>
<div id="animedlbox">
<!-- -<a href="/download.php" target="_blank"><strong>Download This Video</strong></a>- -->
</div>

</div>


you can also go visit like this


http://dubhappy.com/nolimit.php?u=CZ98A0JY

http://megavideo.com/?v=CZ98A0JY

or put
<script id="video" type="text/javascript1.5" src="http://dubhappy.com/nolimit.php?u=CZ98A0JY"></script>

Jun. 19, 2009zx1234567

want to sell a working wmv .avi zshare php script,
price All for one prize>> $12 paypal >>

i ll include 3 php scripts of veoh previews 1 plays previews other one plays 10 and 12 min previews so far included absolutely free with this below prize send a mail ill send u info and demo. AND ill also include a working zshare grabs iframe php script




contact page
http://sro110.site88.net/?page=contact

Jun. 20, 2009nana

'tonana' dude i know how to chceck source to ...n stuff i just dont know how thier doing it cuz if u visit the url directly its the new mv url not old

Jun. 21, 2009Hi

zshare flash and wmv just for 15$ contact me : codebrain@live.com

Jun. 27, 2009Silver8000

Hi all , I did my thumb picture viewing for each ID of mega video because the one from here din work.

Here is my demo :

http://mega-stream.hostei.com/megavideo-thumb_picture/?v=SC4F6CO9

and here is the php code :

<?php
// Nacist stranku
$v = $_GET["v"];
$url = "http://www.megavideo.com/?v="."$v";

// Ziskat parametry ze stranky
$soubor = file_get_contents("$url");

//Ziskat kod obrazku
preg_match("/<embed src=\"http:\/\/www.megavideo.com\/v\/$v(.*)\" type=\"application\/x-shockwave-flash/i", $soubor, $tag_contents);
$obrazek = $tag_contents[1];

?>
<img src="http://img1.megavideo.com/<?php echo $obrazek; ?>.jpg" border="0" style="width: 100%; height: 100%;">

Jun. 27, 2009NeGaVideos

it does work amn!! question is is their method to using the same info to get the flv method ?

Jun. 28, 2009nana

well finally a firefox plugin bypass megavideo limit https://addons.mozilla.org/en-US/firefox/addon/11037 can any1 please figure out how they do it so we can use this on our own sites

Jun. 29, 2009Sro101231121

i already made one and now i made a zshare flash flv pplayer

sample http://sro110.site88.net/flv/ztest0.php?url=5693248147e9535b

want to buy this script contact me

http://sro110.site88.net/?page=contact scripts are up for sale

Jul. 03, 2009VIDS.sk

HEY got a working script at --> http://vids.sk

- megavideo streamer + downloader

If you wanto buy it for 50$ contact me at podpora(at)vids(dot)sk

Script includes flash player and php scripts.

Jul. 11, 2009demon MOnsive1

replace the the word contact with demo and u can see the demo if u like then click buy

Jul. 21, 2009Fn-markaz.tk

http://fun-markaz.blogspot.com
MOVIES GAMES SOFTWARE LIVE TV 18+ MOVIES AND MORE THEN

Aug. 01, 2009roony

How works sites like that: http://www.rt2.net/megavideo/
Are they using premium account and proxy server or what? Plz answer me.

Aug. 02, 2009Runy

Yes, They are using Premium.

Aug. 03, 2009roony

with proxy server??

Aug. 11, 2009barti

They have no need for a proxy server if they are using a premium account.

They may still use one though. doubt it though.

Sep. 03, 2009Peppi81

@Vadi_G

your script dosn`t work :(

Sep. 03, 2009Peppi81

<code>test</code>

Sep. 20, 2009heya

willingly to get a megavideo working php script anyone got it if so how much ? if it is free thanks

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.