Imports YouTube videos via the official YouTube API as EXT:news "News" entities.
Summary of features
- Integrates with EXT:news to import YouTube videos as News entities
- Provides command to regularly import new/update already imported videos
- Adds a new subtype for EXT:news: "YouTube Video"
The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just run:
composer require dskzpt/youtube2news
- Get your YouTube API access token by following the official documentation
- Enter your API access token in the Extension configuration/settings.
- Run the provided command to import videos:
youtube2news:import-videos {channelname} {storagePid} [limit|25]
Recommended:
Setup a cronjob/scheduler task to regularly import new videos.
Version | TYPO3 | News | PHP | Support/Development |
---|---|---|---|---|
1.x | 11.5 | 9.0 - 10.x | 7.4 - 8.0️ | Features, Bugfixes, Security Updates |
This extension comes with a command to import videos of a given youtube channel. It is recommended to set this command up to run regularly - e.g. once a day.
youtube2news:import-videos {username} {storagePid} [limit|25]
Arguments:
Name | Description |
---|---|
username | The youtube channel to import videos from |
storagePid | The PID to save the imported videos |
limit | The maximum number of latest videos to import (Optional. Default: 25) |
By default all imported videos are saved in
/public/fileadmin/youtube2news
You can change this path via the Extensions settings
local_file_storage_path
option.
Please refer to the contributing document included in this repository.
This Extension comes with a testsuite for coding styles and unit/functional tests. To run the tests simply use the provided composer script:
composer ci:test