Drupal YouTuber Config Page

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:

  1. Install Google Client API Library via composer.
  2. Clone/Download module to /modules directory
  3. Enable DTuber module (via drush or by Drupal's Extend page)

Configure:

  1. Create an application at http://console.developers.google.com & Enable YouTube Data API.
  2. Set Client ID, Client Secret & Redirect uri.
  3. Set Redirect uri to as given in DTuber Config page (/admin/config/media/dtuber).
  4. Switch to Config page. Click 'Authorize' button.
  5. Redirects to Google authentication page. Click Allow.
  6. It redirects back to Dtuber Config page.

Test:

  1. Goto Administration > Content Type > Manage Fields
  2. Add new Field : Dtuber - Upload to YouTube
  3. Add a new Content
  4. Upload video to the added Field. Click Save.
  5. 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.

  • 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.
Supporting organizations: 

Project information

Releases