Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

YouTube

John Regan edited this page Feb 19, 2017 · 14 revisions

Features

Video Streaming Metadata Update Read Comments Write Comments
Yes Yes Yes Yes

Details

The YouTube network module allows users to add YouTube their profile.

Configuration

First, you'll need to register an app with Google.

To create a new Google app, login to https://console.developers.google.com, and create a new project (there's a menu towards the top-left of the screen where you can create a new project).

Once the project's been created, go to the APIs Library and select the YouTube Data API, then click "Enable." You'll also need the Google+ API.

The, create application credentials by clicking "Credentials," click "Create Credentials," then "OAuth API," then move on to "Configure Consent Screen."

Type in an application name and save, then you'll be able to create a client ID - choose "Web Application" for the application type. Under "Authorized Redirect URLs," type in the URL to your Multistreamer install, with /auth/youtube appended to it, ie:

https://example.com/auth/youtube

or

https://example.com/<some-prefix>/auth/youtube

if you're running Multistreamer under some prefix.

Once you've gotten your Client ID and Secret, add them to the youtube key of the networks table. You'll also need a country key, with the 2-character ISO country code of your country - this is used for pulling down YouTube categories.

For example:

...
networks = {
  youtube = {
    client_id = 'client_id_goes_here',
    client_secret = 'client_secret_goes_here',
    country = 'us',
  },
},
...
Clone this wiki locally