Ejemplo n.º 1
0
        $last_peteava = $id;
        $token = peteava($id);
        $link = "http://content.peteava.ro/video/" . $id . "?start=0&token=" . $token;
    }
} elseif (strpos($filelink, 'content.peteava.ro') !== false) {
    $id = str_between($filelink, "stream.php&file=", "&");
    if ($id != $last_peteava) {
        $last_peteava = $id;
        $token = peteava($id);
        $link = "http://content.peteava.ro/video/" . $id . "?start=0&token=" . $token;
    }
} elseif (strpos($filelink, 'vimeo.com') !== false) {
    //http://player.vimeo.com/video/16275866
    if (strpos($filelink, "player.vimeo.com") !== false) {
        $id = substr(strrchr($filelink, "/"), 1);
        $link = "http://127.0.0.1/cgi-bin/translate?stream,,http://vimeo.com/" . $id;
    } else {
        $link = "http://127.0.0.1/cgi-bin/translate?stream,," . $filelink;
    }
} elseif (strpos($filelink, 'googleplayer.swf') !== false) {
    $t1 = explode("docid=", $filelink);
    $t2 = explode("&", $t1[1]);
    $link = "http://127.0.0.1/cgi-bin/translate?stream,,http://video.google.com/videoplay?docid=" . $t2[0];
} elseif (strpos($filelink, 'filebox.ro/get_video') !== false) {
    $s = str_between($filelink, "videoserver", ".");
    $f = str_between($filelink, "key=", "&");
    $link = "http://static.filebox.ro/filme/" . $s . "/" . $f . ".flv";
} elseif (strpos($filelink, 'megavideo.com') !== false) {
    $link = "http://127.0.0.1/cgi-bin/scripts/php1/mv.cgi?v=" . megavideo($filelink);
}
print $link;
Ejemplo n.º 2
0
    $link = flvz($filelink);
} elseif (strpos($filelink, 'rapidmov.net') !== false) {
    $link = rapidmov($filelink);
} elseif (strpos($filelink, 'putlocker.com') !== false) {
    $link = putlocker($filelink);
} elseif (strpos($filelink, 'sockshare.com') !== false) {
    $link = putlocker($filelink);
} elseif (strpos($filelink, 'vimeo.com') !== false) {
    //http://player.vimeo.com/video/16275866
    if (strpos($filelink, "player.vimeo.com") !== false) {
        $id = substr(strrchr($filelink, "/"), 1);
        $link = "http://127.0.0.1/cgi-bin/translate?stream,,http://vimeo.com/" . $id;
    } else {
        $link = "http://127.0.0.1/cgi-bin/translate?stream,," . $filelink;
    }
} elseif (strpos($filelink, 'megavideo.com') !== false) {
    $f = "/usr/local/etc//usr/local/etc/dvdplayer/megavideo.dat";
    if (file_exists($f)) {
        $h = file_get_contents($f);
        $MEGA_COOKIE = trim($h);
    } else {
        $MEGA_COOKIE = "";
    }
    $id = megavideo($filelink);
    if ($MEGA_COOKIE != "") {
        $link = megavideo_premium($id);
    } else {
        $link = "http://127.0.0.1/cgi-bin/scripts/php1/mv.cgi?v=" . $id;
    }
}
print $link;