Download the PHP package littlegiant/silverstripe-youtubefeed without Composer
On this page you can find all versions of the php package littlegiant/silverstripe-youtubefeed. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download littlegiant/silverstripe-youtubefeed
More information about littlegiant/silverstripe-youtubefeed
Files in littlegiant/silverstripe-youtubefeed
Package silverstripe-youtubefeed
Short Description YouTubeFeed requests videos from an authenticated YouTube 'My Uploads' feed and converts them into YouTubeVideo DataObjects.
License MIT
Homepage https://github.com/Little-Giant/silverstripe-youtubefeed
Informations about the package silverstripe-youtubefeed
SilverStripe YouTube Feed
Requests videos from an authenticated YouTube 'My Uploads' feed and converts them into YouTubeVideo DataObjects.
Features
- Configurable auto-update interval (disabled by default)
- CLI task YouTubeFeedTask
framework/sake YouTubeFeedTask flush=all
- Stores video information into YouTubeVideo DataObject.
Installation
Installation via composer
You're then required to create an application at Google Developers Console.
- Click 'Create Project'
- Under "APIs & auth" > "APIs" enable "YouTube Data API"
- Under "APIs & auth" > "Credentials" click "Add credentials" (OAuth2 Client ID) then 'Configure consent screen' and enter your project name
- The 'Application Type' should be 'Web application' then for 'Authorized redirect URIs' enter
http://yoursitename.tld/youtube/authenticate
then "Create" - Enter your
Client ID
andClient Secret
into Settings in the CMS
Options
Auto-update is disabled by default, and can be enabled within the CMS Settings "YouTube" tab.
Extending YouTube Feed
onAfterCreate(YouTubeVideo $videoObject)
Called after a YouTubeVideo DataObject is created as a result of being found in a playlist of the connected YouTube account.
Contributing
Submit a pull request or issue and i'll try reply on the same working day.
Code guidelines
This project follows the standards defined in: