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 Dec 1, 2016 · 14 revisions

Features

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

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, ie:

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