This Chrome browser extension turns your live video chat into something that can be used to show chat comments in OBS Studio or other studio production software.
This Chat overlay extensions will foward the selected chat message over a websocket connection to a secondary webpage, which can be used in OBS-Studio as a simple browser source. This makes capturing the chat messages from a Live video stream very easy and fast -- no Chroma keying or window-capturing needed. It also makes customizing the style pretty easy, with no Chrome extension development needed. Twitch and Youtube live chat is supported, with more options coming.
📺 Video demoing how to install and use here: https://www.youtube.com/watch?v=UOg3RvHO-xk
- glimesh.tv (pop-out chat)
- youtube.com (pop-out chat)
- twitch.tv (pop-out chat)
- restream.io (go here: https://chat.restream.io/chat)
- trovo.live (pop-out chat; just added, so not yet on Chrome webstore)
If using restream.io as a chat source, you can access all your social sites, including Facebook, from a single chat pop-out, as seen below:
You can install this package manually, or install it from the Chrome Web Store. If you install the extension manually, make sure to remove the store version to avoid conflicts and double-popup problems, etc.
The extension can be found in the store here: https://chrome.google.com/webstore/detail/youtube-chat-overlay/bahhfoidnfogingiolidoidmlkogjlhp
The webstore has a review process, which can take a few days to complete, so new releases and bug fixes can take a few days to become available. It will however auto-update the extension for you though and it's pretty easy to install this way.
If manually installing, you just need to download and install this repositoary an "unpacked" extension in Chrome.
The download link is here: https://github.com/steveseguin/live-chat-overlay/archive/refs/heads/main.zip Just extract the files to a folder once downloaded.
Next, in Chrome, launch the Extensions page: * chrome://extensions/
On that page, choose "Load unpacked", and navigate to the newly unpacked folder we downloaded, selecting it. That's it! All installed. :)
Open up the live chat for a video, and click popout chat 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
After the page loads, if the extension is loaded correctly, you will see a POP UP that contains a github-domain-based URL; COPY that URL and past it into your OBS as a browser source. Make the browser source 1280x250 or 1920x250 in resolution.
To make a Chat message now appear in OBS, simply click on a chat message in the Youtube/Twitch POP OUT window.
YOu can re-use the same overlay in OBS or Vmix or wherever for all your chat inputs.
The link should be resuable between streams, but you can also manually set it to something specific via the plugin's settings page.
If you wish to Stylize the Chat message overlay in OBS, you can edit this file: https://github.com/steveseguin/live-chat-overlay/blob/main/index.html
You can download it to your local drive and open it directly in OBS. To link the file to the correct websocket connection, you will also need to add ?session=XXXXXX to the end of the browser source local file link in OBS, where XXXXXX is the session value given to you by the Chrome extension when the chat starts and the popup is displayed.
https://chat.overlay.ninja?session=sBtMwWrkhZ
to
C:\Users\Steve\Desktop\index.html?session=sBtMwWrkhZ
If you need support or have a bug to report, please feel free to join me at https://discord.vdo.ninja.
Most of this CSS and JavaScript came from a video by ROJ BTS, so huge thanks to him for the initial work! Code GIST
Also thank you to aaronpk @ https://github.com/aaronpk/live-chat-overlay, as their work is what this code builds upon.
-steve