AD NOTIFICATION

An OBS widget that warns you and your viewers before a Twitch ad break and counts down while the ads run. Customizable right inside OBS.

  • Warnings 5 to 1 minutes before a scheduled ad break
  • A live countdown while the ads run
  • Your own texts, pictures, GIFs and sounds
  • Easy customization via settings panel, no actions to import
Ad Notification page card

Quick Access

Browser Source URL

Add this as a browser source to OBS.
https://tawmae.xyz/overlays/ad-notification

Setup Guide

1

Start WebSocket Server

Go to the tab Servers/Clients → WebSocket Server. Enable Auto Start WebSocket Server. Address 127.0.0.1. Port 8080. Optional password. Leave Enforce All Requests unchecked. Start the server.

2

Copy Browser Source URL

Copy the Browser Source URL from Quick Access.

3

Add Browser Source in OBS

In OBS create a new Browser Source. Paste the URL. Set Width and Height to your OBS canvas size, so 1920x1080 for most people.

NoteIf you want to have the browser source in multiple scenes, don't create a second browser source. Instead, use nested scenes or source clones.
4

Done!

That's it, it works right away. To change how it looks, select the browser source in OBS, hit Interact, click once inside the window and press S.

NoteTo test it, add a Twitch → Ads trigger to any action in Streamer.bot, right-click it and hit Simulate. Test does not reach the overlay.

The Settings Panel

Content

Upcoming ad: Twitch's warning before a scheduled ad break.
Ad break running: stays for as long as the ads run, with a countdown.
Ad break over: an optional card once the break ends.

Switch each one on or off, simulate it with the play icon, or open it with the cog.

A single notification

Each notification has its own title, text and value with variables like %countdown% or %time%, its own colour, picture or GIF and sound. For the warning you pick which of the 5, 4, 3, 2 and 1 minute marks show up and for how long.

Global Style

The eyes at the top show or hide the timer, the picture, the second line and the value.
Text: font (Google, system or installed), colours, the accent per notification or one for all, sizes, weight, capitals and alignment.
Background: solid, gradient or none, opacity, corner radius, a width that fits the text, outline, box shadow and padding.
Timer: the circle with the seconds inside, a bar along the bottom of the card, or a ring around a big picture.
Picture: an icon or your own image or GIF from a link, big on the side or small next to the text.
Animation: how the card comes in and goes out.

On the canvas you drag the card to move it, the corners scale it and the side handles change the width.

Options

Behind the cog: Debug info to copy when you need help, Export and import for your design, and Reset for the position or the whole design.

The layout presets at the top hold up to five designs, for example one for your horizontal and one for your vertical canvas. Add ?layoutPreset=2 to a browser source URL to show preset 2 there.

FAQ

Do I need to import anything into Streamer.bot?
No. The overlay listens to Twitch's ad events over the Streamer.bot WebSocket on its own. Streamer.bot only needs its WebSocket server running and your Twitch account connected.
How do I test it?
Open the panel with S and hit the play icon next to a notification. To test the whole chain, add a Twitch → Ads trigger to any action in Streamer.bot, right-click it and choose Simulate. Test does not reach the overlay.
Where is my design saved?
Inside OBS, in the browser source's own storage. Every AD NOTIFICATION browser source in that OBS shares it. A normal browser keeps its own copy, so if you set it up there, use Export under Options and Import it in OBS.
Can I use my own picture or GIF?
Yes. Paste a link (https://...) under Style → Picture for every notification, or into a notification's own Picture field. Files on your PC can't be loaded by a hosted overlay, so upload them somewhere first.
My old URL parameters stopped working
Version 2 moved everything into the settings panel. Only address, port, password and layoutPreset are still read from the URL. Colour, font, sound, the warning minutes and the side of the screen are now set in the panel.

Changelog

v2.0.0 latest

  • New Added customization panel (press `S` in your browser or while interacting with the browser source).
  • New Added an optional "Ad break over" notification.
  • New Added custom pictures, GIFs, sounds and texts per notification, plus five layout presets.
  • Changed Removed all URL parameters except address, port, password and layoutPreset. Everything else lives in the panel now.

User Reviews

5.0 (11 reviews)

Nearly perfect. It does seem to be like 5-6 seconds off, when my average latency is 2 seconds. I don't know if it can be improved, but within 2-3s would be just about perfect.

It can be very colorful, but settings are easy to adjust! Best way to warn about ads! (Stupid twitch forcing me to play them)

Before you post your review

Please make sure this is not a support issue. If you have trouble getting it to work, join my Discord, open a support post and attach your logs.

Join the Discord for support ↗