PHP code example of andrelohmann-silverstripe / aws_video

1. Go to this page and download the library: Download andrelohmann-silverstripe/aws_video 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/ */

    

andrelohmann-silverstripe / aws_video example snippets


define('AWS_KEY', 'YOUR_ACCESS_KEY_ID');
define('AWS_SECRET', 'YOUR_ACCESS_KEY_SECRET');
define('AWS_REGION', 'YOUR_AWS_REGION');
define('AWS_INPUT_BUCKET', 'YOUR_AWS_INPUT_BUCKET');
define('AWS_OUTPUT_BUCKET', 'YOUR_AWS_OUTPUT_BUCKET');
define('AWS_PIPELINE_ID', 'YOUR_AWS_PIPELINE_ID');
define('AWS_CLOUDFRONT_DOMAIN', 'YOUR_AWS_CLOUDFRONT_DOMAIN');