• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

PHP Video Proxy Google Drive

[error] 15143#15143: *169093 FastCGI sent in stderr: "PHP message: PHP Fatal error: strict_types declaration must be the very first statement in the script in

PHP7.2
 
[error] 15143#15143: *169093 FastCGI sent in stderr: "PHP message: PHP Fatal error: strict_types declaration must be the very first statement in the script in

PHP7.2
Either your missing php extenstion or your installation of php7.2 is not setup correctly, are you using a share hosting or vps ?
 
Hello, i got a problem
{"status":412,"error":"Failed write data."}

but when i change permssion its got HTTP ERROR 500

using vps ubuntu 18 apache

maybe u can help sir ?
cflo360

i think problem is permission.. but dont know to fix it
 
Hello, i got a problem
{"status":412,"error":"Failed write data."}

but when i change permssion its got HTTP ERROR 500

using vps ubuntu 18 apache

maybe u can help sir ?
cflo360

i think problem is permission.. but dont know to fix it
Try creating a folder called _cache with permission 777 & play_cache with permission 777
make sure your have php extenstion for curl
 
Last edited:
{"status":412,"error":"Failed write data."}
I've tried everything and nothing works
anyone care to help
 
hello, can anyone help make a combined file of this script for jwplayer, when I play in the player the resolution will come out, and it will come out according to the resolution obtained, for example I choose 720p, then a display of 720p, 360p video resolution options will appear, and when I choose 1080p, then the resolution options will appear 1080p, 720p, 360p, etc.??

this is a video script to show the result of this script in my jwplayer, but it doesn't work properly
[CODE
function proxy_drive($link)
{
$curl = new cURL();
preg_match('/https?:\/\/(?:www\.)?(?:drive|docs)\.google\.com\/(?:file\/d\/|open\?id=)?([a-z0-9A-Z_-]+)(?:\/.+)?/is', $link, $id);
$getSource = file_get_contents( 'https://domain-proxy/index.php?id='.$id[1]);
$deJson = json_decode($getSource);
$oriLink = $curl->getOri($deJson->hash);
$reso = $curl->getOri($deJson->sources);
$sources = '
[{"label":"'.$reso[0].'","type":"video\/mp4","file":"https://domain-proxy/index.php?id='.$oriLink.'&stream='.$reso[0].'"},
{"label":"'.$reso[1].'","type":"video\/mp4","file":"https://domain-proxy/index.php?id='.$oriLink.'&stream='.$reso[1].'"},
{"label":"'.$reso[2].'","type":"video\/mp4","file":"https://domain-proxy/index.php?id='.$oriLink.'&stream='.$reso[2].'"}]';
return $sources;
}

[/CODE]
 
Last edited:
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock