Coder Social home page Coder Social logo

jeffersonsimaogoncalves / live-chat-overlay Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aaronpk/live-chat-overlay

1.0 0.0 0.0 1.62 MB

Restyle the YouTube "popout chat" window so you can key it over a video to show comments on a livestream

Home Page: https://chrome.google.com/webstore/detail/live-chat-overlay/aplaefbnohemkmngdogmbkpompjlijia

CSS 19.65% JavaScript 56.20% HTML 24.14%

live-chat-overlay's Introduction

Live Chat Overlay

This browser extension turns the YouTube popout chat window into something that can be used to show chat comments keyed over a video. You can also bring it in to software like OBS or Lightstream Studio as a browser source!

chat-screenshot

Setup Tutorial

Installation

Install from the Chrome extension store:

Or you can install this as an "unpacked" extension. In Chrome, launch the Extensions page

  • chrome://extensions/

Then choose "Load unpacked", and navigate to this folder.

Usage

Open up the YouTube live chat for a video, and click YouTube's "popout chat" button to open it in a new window. Or replace the VIDEOID in the URL below with your video's ID.

https://www.youtube.com/live_chat?is_popout=1&v=VIDEOID

Click "Get Overlay URL" and open that in a new window or another device, or add that as a browser source in OBS.

Keying from a Computer

You'll next need to bring that into your video stream and key it out, which will depend on what software or hardware you are using. In the ATEM Mini, you can use these settings in the upstream keyer:

  • Luma key
  • not premultiplied
  • clip: 7%
  • gain: 100%

Or you can use the downstream keyer:

  • not premultiplied
  • mask:
    • top: X
    • bottom: -9
    • left: -16
    • right: 16

Adding as a Browser Source

In software such as OBS or Lightstream Studio you can use the remote window as a browser source, and remote control it from your main YouTube chat window.

Before you start, you'll want to make sure you change the background color in the extension settings to the word "transparent" so that the browser window will have a transparent background.

Once you've loaded the YouTube popout chat window described above, you will see a button in the YouTube chat window called "Get Overlay URL". Clicking that will reveal a URL you can copy and load into OBS or your favorite streaming platform that supports browser overlay sources.

get-overlay-url

You can also open the URL on your computer if you want to full screen it on a second monitor, or you can open this on a secondary device like an iPad.

See this in action!

You can see this in action on many of Aaron Parecki's livestreams!

Running your own remote server

The extension defaults to pushing the chat messages through a server managed by Aaron Parecki, and the remote window is loaded from that website. Nothing is stored, and there is very little resource usage for this, but if you are more comfortable running this on your own server, head over to the overlay remote GitHub project for instructions.

TODO

See https://github.com/aaronpk/youtube-chat-overlay/issues

Credits

The CSS and JavaScript originally came from a video by ROJ BTS, so huge thanks to him for the initial work!

live-chat-overlay's People

Contributors

aaronpk avatar alexanderbrevig avatar justindarner avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.