API Codes - Google Drive Proxy Player Advanced Script 1.3

Titan

Well-known member
Jul 2, 2020
246
316
63
Space
watcha.movie
Thanks a lot for your contribution you helped a lot of people, its obvious you got banned cause I'm pretty sure you are the only one who buys those scripts.

Can confirm script still works...

But yeah I can't get support due to them banning me, I'm working on an easily installtion script for the load balancer and proxy too
 

Titan

Well-known member
Jul 2, 2020
246
316
63
Space
watcha.movie
Ubuntu 18.08

Code:
CD /root/

wget http://cdn.ineeda.org/apicodes-gdriveplayer.zip

apt-get install unzip -y

unzip apicodes-gdriveplayer.zip

chmod 0777 setup.sh

setup.sh

This will run the installation script, any edits to the script (which can be found in the video) need to be done manually
 

ChainofChaos

Active member
May 5, 2020
148
55
28
Ubuntu 18.08

Code:
CD /root/

wget http://cdn.ineeda.org/apicodes-gdriveplayer.zip

apt-get install unzip -y

unzip apicodes-gdriveplayer.zip

chmod 0777 setup.sh

setup.sh

This will run the installation script, any edits to the script (which can be found in the video) need to be done manually
No SSL installation?
 

ChainofChaos

Active member
May 5, 2020
148
55
28
No, just have to use cloudflare to enable https
This will result in 521, which is a web server is down. Listen 80 on Nginx configuration is only hosting for Http not https the server can't host https because Nginx doesn't know what https is unless you add SSL on the configuration. I already tried it myself. This may work if you use apache, but for nginx it won't work
 

Blackjack90

Member
Apr 4, 2019
72
40
18
airbeats.store
Can anyone make a checklist or something of what one has to do to make this script work the right way? I already read that it's not ideal to host the proxy on just one server, then there seems to be a misunderstanding with SSL, etc. From my point it's highly confusing.
 

Titan

Well-known member
Jul 2, 2020
246
316
63
Space
watcha.movie
Can anyone make a checklist or something of what one has to do to make this script work the right way? I already read that it's not ideal to host the proxy on just one server, then there seems to be a misunderstanding with SSL, etc. From my point it's highly confusing.

Requirements:

1x Hosting (cPanel / Shared / etc)
1x Dedi or VPS running Ubuntu 18.08 (not your main hosting)
1x Cloudflare account

On Dedi / VPS Install load balancer and proxy

On Hosting copy all files from cpanel_script and put into the public_html directory

Change config.php in hosting to the proxy url

In Cloudflare point domain to hosting and proxy. to dedi / VPS IP and point vs1. to dedi / VPS IP enable force https but set to flexible.

I can install for you, take around an hour $20
 
  • Like
Reactions: Blackjack90

Blackjack90

Member
Apr 4, 2019
72
40
18
airbeats.store
Requirements:

1x Hosting (cPanel / Shared / etc)
1x Dedi or VPS running Ubuntu 18.08 (not your main hosting)
1x Cloudflare account

On Dedi / VPS Install load balancer and proxy

On Hosting copy all files from cpanel_script and put into the public_html directory

Change config.php in hosting to the proxy url

In Cloudflare point domain to hosting and proxy. to dedi / VPS IP and point vs1. to dedi / VPS IP enable force https but set to flexible.

I can install for you, take around an hour $20
Okay. That's at least a small overview. Thank you for that.
One question. Is there a difference between this script and this one here https://babiato.tech/threads/api-codes-cpanel-1-0-script.24985/ ? Or to rephrase, which would you recommend?
 

Mr. White

Active member
Trusted Uploader
Oct 13, 2019
205
162
43
United Kingdom
Can view direct from google drive when paste link to script
Does anyone know how to use the api with google gdrive thanks
Im using API GG method but It is not work a few day ago. https://yourdomain.com/?id=[file-id]/
<!DOCTYPE html>
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=gb18030">

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>GoogleAPI</title>

<!-- Styles -->

<!-- Favicons -->
<link rel="shortcut icon" href="https://images.vexels.com/media/use...71086-logotipo-de-youtube-icono-by-vexels.png" type="image/x-icon" />

<!-- Core Funcs -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="https://ssl.p.jwpcdn.com/player/v/8.6.2/jwplayer.js"></script>
<!-- END Core Funcs -->
<style>
* {
margin: 0px;
}
html {
overflow: hidden;
}
</style>
</head>

<body>
<div id="encrpyt">

</div>
<!-- Core Streaming -->
<script>
jwplayer.key = "cLGMn8T20tGvW+0eXPhq4NNmLB57TrscPjd1IyJF84o=";

var player = jwplayer('encrpyt');

player.setup({
sources: [ {
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "240p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "360p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "720p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "1080p",
type: "video/mp4"
}
],
autostart: false,
playbackRateControls: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2],
abouttext: "WG Tutoriales",
aboutlink: "",

width: $(window).width(),
height: $(window).height()
});

$(document).ready(function() {
$(window).resize(function(){
jwplayer().resize($(window).width(),$(window).height())
})
})

</script>
<!-- END Core Streaming -->
</body>
</html>
 

ChainofChaos

Active member
May 5, 2020
148
55
28
Im using API GG method but It is not work a few day ago. https://yourdomain.com/?id=[file-id]/
<!DOCTYPE html>
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html; charset=gb18030">

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>GoogleAPI</title>

<!-- Styles -->

<!-- Favicons -->
<link rel="shortcut icon" href="https://images.vexels.com/media/use...71086-logotipo-de-youtube-icono-by-vexels.png" type="image/x-icon" />

<!-- Core Funcs -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="https://ssl.p.jwpcdn.com/player/v/8.6.2/jwplayer.js"></script>
<!-- END Core Funcs -->
<style>
* {
margin: 0px;
}
html {
overflow: hidden;
}
</style>
</head>

<body>
<div id="encrpyt">

</div>
<!-- Core Streaming -->
<script>
jwplayer.key = "cLGMn8T20tGvW+0eXPhq4NNmLB57TrscPjd1IyJF84o=";

var player = jwplayer('encrpyt');

player.setup({
sources: [ {
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "240p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "360p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "720p",
type: "video/mp4"
},{
file: "https://www.googleapis.com/drive/v3/files/<?=$_GET['id']?>?alt=media&key=AIzaSyBFHimHWDyLOtcNJjA268KwRLhsBuckUxc", label: "1080p",
type: "video/mp4"
}
],
autostart: false,
playbackRateControls: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2],
abouttext: "WG Tutoriales",
aboutlink: "",

width: $(window).width(),
height: $(window).height()
});

$(document).ready(function() {
$(window).resize(function(){
jwplayer().resize($(window).width(),$(window).height())
})
})

</script>
<!-- END Core Streaming -->
</body>
</html>
Your script doesn't bypass the view limits. You show the direct video from google drive to your site.
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu