PHP code example of marxvn / gdrive
1. Go to this page and download the library: Download marxvn/gdrive library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
marxvn / gdrive example snippets
use \Marxvn\gdrive;
$gdrive = new gdrive;
$gdrive->getLink('LINK_GOOGLE_DRIVE');
$json_videojs_source = $gdrive->getSources();
$json_jwplayer_souce = $gdrive->getSources('jwplayer');
gdrive::sources
gdrive::setItag(array $itag)
gdrive::setVidcode(array $vidcode)
gdrive::setTitle($title)
gdrive::getLink($gurl)
gdrive::getSources($type = 'videojs')