PHP code example of littlegiant / silverstripe-youtubefeed
1. Go to this page and download the library: Download littlegiant/silverstripe-youtubefeed 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/ */
littlegiant / silverstripe-youtubefeed example snippets
public function onAfterCreate(YouTubeVideo $videoObject)
{
// Do something with the newly created $videoObject
}