EN : HorizontalScrollingText
Do you watch the news? Picture the text on the lower portion of the screen : some "flash news" scroll all the time. I wanted to have that on my live stream on Twitch, so I codded this simple thing.
Largely inspired from this code.
How to use it in OBS?
Just clone this repo, and include "newsbanner.html" as a browser source :
- Clone this projet or download the latest release on your computer (example:
C:/somefolder/stream
) - In OBS, create a new "Browser" source, and enter the path to the HTML file (example:
C:/somefolder/stream/newsbanner.html
) - Place your source in the appropriate location.
- Customize everything (the colors, the messages, ...)
Change the speed, the text, the style however you like.
You can also set the value doRandomize
to true
(in newsbanner.html
) if you want your newsbits to be reordered at random.
Here is a heavily compressed gif to show how I do it:
I have a question!
Sure, just ask me on twitter or create an issue ;)
FR : Texte qui défile horizontalement
Regardez-vous les infos ? Visualisez le texte en bas de l'écran : des brèves défillent en permanence. Je voulais avoir la même chose sur mon stream Twitch, donc j'ai codé ce truc simple.
Largement inspiré de ce code.
Comment l'utiliser dans OBS ?
Clonez ce repo, et ajoutez le fichier "newsbanner.html" comme source navigateur dans OBS :
- Clonez ce projet ou téléchargez la release la plus récente sur votre ordinateur (exemple:
C:/somefolder/stream
) - dans OBS, créez une source de type "navigateur" et entrez le chemin du fichier HTML (exemple:
C:/somefolder/stream/newsbanner.html
) - Placez la source à l'endroit qui convient le mieux.
- Customisez tout (les couleurs, les messages, ...)
Changez la vitesse, le texte et le style à votre guise.
Vous pouvez aussi mettre la valeur doRandomize
à true
(dans newsbanner.html
) si vous voulez réordonner de manière aléatoire vos bouts de news.
Voici un gif très compressé qui montre comment faire :