PHP code example of jwplayer / jwplatform
1. Go to this page and download the library: Download jwplayer/jwplatform 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/ */
jwplayer / jwplatform example snippets
$jwplatform_api = new Jwplayer\JwplatformClient('INSERT API SECRET');
$media_id = 'INSERT MEDIA ID';
$site_id = 'INSERT SITE ID';
$response = $jwplatform_api->Media->get($site_id, $media_id);
$jwplatform_api = new Jwplayer\v1\JwplatformAPI('INSERT API KEY', 'INSERT API SECRET');