Closed d4lv closed 6 years ago
@d4lv try using this version of gp.php it caches the links for 1hr. https://github.com/Zebraslive/Photo-Google-Player-Script/blob/Zebraslive-1080-patch/gp.php
@Zebraslive thank you.. but i want to ask a dump question now :) if i press the X video and is make a cache file in 1 hour every time i press the video to watch will be read the catch and not the real link?? and this cache is read only from me or for all who press the same video?? is all this working for save the videos from to many views per day?? (i don't know now what is the day limit in google photos and i expect this cache to save me a little views or not?)
@d4lv Yes the cache should help prevent the file from being limited as fast. It will show the same cached links for everyone that watches a specific video. I don't know the limits either but I assume they are the same if not more than google drive which apparently is 2000.
@Zebraslive i am using wordpress plugin and i need to get json link (like the google drive script) is easy to add in this script??
just i don't know another way how to add the gp script in this plugin i need it because i encrypt the real link from google photos...
this is the part of the wp plugin:
$mp4 = str_replace("&","&",$mp4); if ($mp4) $mp4_source = 'sources: [{file:"'.plugins_url('redirector.php', __FILE__).'?'.split_link(encrypte($mp4,'compuphd')).'",label:"360p","type":"mp4","default": "true"}],'; else $mp4_source = '';
$gdrive = str_replace("&","&",$gdrive); if ($gdrive) $gdrive_source = 'sources: [{file:"'.plugins_url('redirector.php', __FILE__).'?'.split_link(encrypte('https://www.googleapis.com/drive/v3/files/'.$gdrive.'?alt=media&key=AIzaSyDdoetN4aDmDBc6Y11CUGK4nhZ0pvZbXOw','compuphd')).'","type":"video/mp4","label":"Original"}],'; else $gdrive_source = '';
@d4lv What's the plugin? maybe I can add photos to it. I'll add json output to this script soon.
@Zebraslive http://prntscr.com/kjzs2d can you make this encryption??
@d4lv looks like basic http://dean.edwards.name/packer/
check the Base62 encode
Shrink variables
boxes.
@Zebraslive i try site like this but is not show the player can you try an see if is working?? thanks
@d4lv I need the code from ur img to test it.
<div id="player"></div>
<script type="text/javascript">
var player = jwplayer("player");
player.setup({
sources: <?php echo $getGP?>,
width: $(window).width(),
height: $(window).height(),
aspectratio: "16:9",
controls: true,
displaytitle: false,
stretching: "exactfit",
fullscreen: "true",
primary: "html5",
autostart: false,
playbackRateControls: [0.25, 0.5, 0.75, 1, 1.25, 1.5, 2],
image:'',
tracks: [{
file: "",
label: "Subs",
kind: "captions",
default: "true",
}],
captions: {
color: "#FFFF00",
fontSize: 14,
edgeStyle: "uniform",
backgroundOpacity: 0,
},
logo: {
file: "",
logoBar: "",
position: "top-left",
link: "",
hide: 'true'
},
aboutlink:"",
abouttext:"<3",
});
</script>
@Zebraslive i am sorry i open this topic for the gp problem but now i ask just you help for random things anyway is any chance to make rapidvideo script??
@d4lv Yes, I can make a rapidvideo script.
@Zebraslive you will upload public the script in github??
and i try the comment code you send me but is not working is just show this {"file":null,"label":"Auto","type":null,"default":"true"}
@d4lv maybe.... not sure yet. I might sell for cheap.
@Zebraslive send me your email or skype
@d4lv Almost done. I need to re-do a lot before it's ready for others to use. test embed http://animeapi.ga/rapid/embed.php?url=Rr4YGnXli0bymVmEzKesPHYzqAJNryjGgZw2xRtj_BQWHdO6DDTiX8M6LqgSr2pcQJuOlOHE6knHufUoEOXqnQ
It caches for 1 hour. Also it use proxies to get around captcha when needed.
I'll post again here when it's finished with a full demo page that contains instant buy button.
@d4lv Test it out http://animeapi.ga/rapid/
@Zebraslive is easy to make the script for jwplayer?? (all my scripts is jw and i want to be all the same )
and i need to add the script in wordpress can you help me?
@Zebraslive i try the script and is not working i get HTTP ERROR 500 after i put the link from rapid and if is easy make the script to work with id like this api/rv/embed.php?url=v/FS66LJLPKH
@d4lv Sorry I was offline for a awhile. I'll email you when the next update is ready.
@d4lv I emailed you my skype. check spam folder if you don't see it.
@Zebraslive done..
@Zebraslive can you check the skype please :)
i need to put cache in this script is anyone can help me or will be update to script soon??