API Codes - cPanel 1.0 Script

dixoqut

Member
Jul 16, 2020
44
11
8
Hellow can support facebook video?
it says it can. but not tested by myself. are you using facebook for uploading movies? i heard that many people do it and it is better than google drive.
i was thinking to use youtube with "unlisted" links. i used a youtube video for cpanel 1.0 but it reveals the origin link.
 

skypeleft

Active member
Aug 10, 2019
401
71
28
it says it can. but not tested by myself. are you using facebook for uploading movies? i heard that many people do it and it is better than google drive.
i was thinking to use youtube with "unlisted" links. i used a youtube video for cpanel 1.0 but it reveals the origin link.
can you make video tut for install this script? i have centos vps 1GB RAM, and subdomain
upload this script to root only?
 

dixoqut

Member
Jul 16, 2020
44
11
8
When I add subtitle to file, it shows the default Sintel.mp4 video. but without subtitle everything's okay. why?
Csadapture.JPG
I found what was the problem, as you add subtitle the encoded URL, it gets very long. so in embed link in MTDb script doesn't fit. so it remove rest of the URL and nothing (default video) will play.
 
Last edited:

dixoqut

Member
Jul 16, 2020
44
11
8
but now i have a question. Sometimes the player doesn't work at all with any given link. i thought, that was my problem but when i added any link at this site and this at that moments, it happened there too. so i investigated and found that the Jwpalyer server did not respond to APICodes.json file sometimes. what is the cause?
Captaure.JPG
 
Last edited:
  • Like
Reactions: tungbon18

zackaz

Member
Dec 14, 2018
63
23
18
Indonesia
animecracks.net
but now i have a question. Sometimes the player doesn't work at all with any given link. i thought, that was my problem but when i added any link at this site and this at that moments, it happened there too. so i investigated and found that the Jwpalyer server did not respond to APICodes.json file sometimes. what is the cause?
Captaure.JPG
Why don't you change the JWplayer using another player?
APICodes.json is only active when you add VAST ads to the player
I think you can get rid of that by changing JWplayer version don't use APIcodes jwplayer
 
  • Like
Reactions: skypeleft

dixoqut

Member
Jul 16, 2020
44
11
8
Why don't you change the JWplayer using another player?
APICodes.json is only active when you add VAST ads to the player
I think you can get rid of that by changing JWplayer version don't use APIcodes jwplayer
i didn't know that it is because of VAST.
i was thinking about changing to another open source player like plyr. but i didn't find anything to help me do that. do you know how to do so? i mean not specifically plyr just not JWplayer
jwplayer for self-hosted player need enterprise license key. so i think i have no choice to use another jwplayer. tell me if i wrong.
 

skypeleft

Active member
Aug 10, 2019
401
71
28
i didn't know that it is because of VAST.
i was thinking about changing to another open source player like plyr. but i didn't find anything to help me do that. do you know how to do so? i mean not specifically plyr just not JWplayer
jwplayer for self-hosted player need enterprise license key. so i think i have no choice to use another jwplayer. tell me if i wrong.
Here nice open soure pro! https://videojs.com/ https://github.com/videojs/video.js
 

skypeleft

Active member
Aug 10, 2019
401
71
28
I saw those. but how to use it on embed.php? i am not php programmer.
i think embed not important, we can copy html element and paste to website, it's done.
Dont remember block acces all domain, excluded your domain... ;)
And facebook is better than google driver to store video, im testing some player script. i has buy 1 facebook video script
 

dixoqut

Member
Jul 16, 2020
44
11
8
i think embed not important, we can copy html element and paste to website, it's done.
Dont remember block acces all domain, excluded your domain... ;)
And facebook is better than google driver to store video, im testing some player script. i has buy 1 facebook video script
it doesn't work like that. see this and this.
i was thinking to test facebook. but not right now maybe in the future plans...
 

zackaz

Member
Dec 14, 2018
63
23
18
Indonesia
animecracks.net
i didn't know that it is because of VAST.
i was thinking about changing to another open source player like plyr. but i didn't find anything to help me do that. do you know how to do so? i mean not specifically plyr just not JWplayer
jwplayer for self-hosted player need enterprise license key. so i think i have no choice to use another jwplayer. tell me if i wrong.
The scripts resulting JSON files that pass the data to JWPlayer
you can check those JSON file that been generated by the script by visiting the proxy url
Screenshot_1.png

So you can pass that data to another player like plyr.io
 
  • Like
Reactions: dixoqut

dixoqut

Member
Jul 16, 2020
44
11
8
The scripts resulting JSON files that pass the data to JWPlayer
you can check those JSON file that been generated by the script by visiting the proxy url
Screenshot_1.png

So you can pass that data to another player like plyr.io
so I remove Vast, the error gone, but problem is still there. I use that link you provide and response me with error. so i don't think i have problem with jwplayer. it is somewhere else.
Caasdpture.JPG asdCapture.JPG
 

zackaz

Member
Dec 14, 2018
63
23
18
Indonesia
animecracks.net
so I remove Vast, the error gone, but problem is still there. I use that link you provide and response me with error. so i don't think i have problem with jwplayer. it is somewhere else.
Caasdpture.JPG asdCapture.JPG
That error means you're not configuring the proxy and loadbalancer correctly
or the file in google drive is not shared to anyone or the file in google drive is still not encoded

Can you check if the file is already shared and playable in google drive?
also make sure that the file ID is correct
 

dixoqut

Member
Jul 16, 2020
44
11
8
That error means you're not configuring the proxy and loadbalancer correctly
or the file in google drive is not shared to anyone or the file in google drive is still not encoded

Can you check if the file is already shared and playable in google drive?
also make sure that the file ID is correct
I double checked and everything is ok. i restart the vps and pm2 nad nginx and disable firewalls.
the link is ok and shared. Unasdtitled.png
 

dixoqut

Member
Jul 16, 2020
44
11
8
I double checked and everything is ok. i restart the vps and pm2 nad nginx and disable firewalls.
the link is ok and shared. Unasdtitled.png
i found out what is the problem. i can watch it through my google drive. but when i go to incognito mode and want to play it, response with "Unable to play this video at this time. The number of allowed playbacks has been exceeded. Please try again later."
but all my videos response with this error. even those i hadn't shared before.
 
  • Like
Reactions: tungbon18

Latest posts

Forum statistics

Threads
69,226
Messages
908,438
Members
237,026
Latest member
Hefon_mark

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