Synopsis
"Uploads Video to a YouTube Channel."
Provides a new Field type, that can be attached to a Content-type.
You need to configure Dtuber before uploading any videos
Requirements
DTuber requires Google Client API
Install google-api-php-client by following command in drupal root:
composer require google/apiclient:^2.0
How to Use
Here are the steps to use Dtuber module.
Install:
- Install Google Client API Library via composer.
- Clone/Download module to
/modulesdirectory - Enable DTuber module (via drush or by Drupal's Extend page)
Configure:
- Create an application at http://console.developers.google.com & Enable YouTube Data API.
- Set Client ID, Client Secret & Redirect uri.
- Set Redirect uri to as given in DTuber Config page (
/admin/config/media/dtuber). - Switch to Config page. Click 'Authorize' button.
- Redirects to Google authentication page. Click Allow.
- It redirects back to Dtuber Config page.
Test:
- Goto Administration > Content Type > Manage Fields
- Add new Field : Dtuber - Upload to YouTube
- Add a new Content
- Upload video to the added Field. Click Save.
- Video will get uploaded to YouTube channel as configured in Admin page.
Alternative way
Another way to test Video Uploads. Goto : /admin/config/media/dtuber/test. Fill in fields and submit form.
Check your YouTube Channel for latest updated Video.
Known Problems
In case of WSOD:
Kindly check if Google Client API Library is intalled. Check if <drupal-root>/vendor/google directory is present.
If not, Kindly install google client library as given in Requirement Section.
YouTube community Guidelines:
Even when testing, follow YouTube Community Guidelines (https://www.youtube.com/yt/policyandsafety/communityguidelines.html) when uploading videos. DO NOT UPLOAD COPYRIGHTED VIDEO.
Similar projects and how they are different
- YouTube uploader: D7 version and uses "browser upload method " to upload video(video file not tracked by Drupal).
- Media: YouTube upload: Also D7 and based on YouTube uploader module. This provides a complex widget to upload videos and minimally maintained. Dtuber is a lightweight implementation.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content editing experience, Site structure, Media
10 sites report using this module
- Created by jaykandari on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.

