PHP code example of zgetro / video-tile-sdk
1. Go to this page and download the library: Download zgetro/video-tile-sdk 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/ */
zgetro / video-tile-sdk example snippets
__DIR__ . '/vendor/autoload.php';
// special the VideoTile endpoint, your admin token & LMS vendor name.
$api = new VideoTile('http://api.videotilehost.com/', 'admin_token', 'vendor_lms_name');
echo $api->generateLoginUrl('user_token');