This is a Twitch Clips Player, browser source overlay for OBS.
This grabs your Twitch clips and plays them one after the other in a loop. Keep your viewers entertained on your BRB or starting soon scenes.
Track future development here: https://github.com/teklynk/twitch_clips_player/projects/1
FEATURES:
Access is now required if you would like to show clips from channels that you follow or show a message in chat.
In OBS, set the browser source to: "Shutdown source when not visible" and "Refresh browser when scene becomes active". This will prevent the clips player from playing in the background. It will also reload/refresh the clips player when the source becomes active.
channel=Your channel name or a comma separated list of channels (user1,user2,user3,user4)
shuffle=true/false Play clips in a random order.
showText=true/false Enables the channel name on top of the video.
showDetails=true/false Enables the clips details panel on overlay.
detailsText=string Displays custom details about the clips. Can include {channel},{title},{game},{creator_name},{created_at}.
limit=integer Max number of clips to pull from (max is 100).
dateRange=integer Only pull clips from a specific date range.
so=true/false Say a Shout-out message in chat.
command=string Custom command to fire off the clips player. If Not set, clips player will play as soon as the scene is active.
showFollowing=true/false Pulls clips from the latest 100 channels that you are following.
streamerOnly=true/false Only shows clips created by the channel/streamer.
customText=string Displays custom message on top of clips. Can include {channel}.
modOnly=true/false When command option is used, can limit command to Mods only.
delay=integer Adds a delay between clips. Great from showing a graphic that is behind the clips player. Default is 0.
mainAccount=channel The main channel that you want to send chat messages to.
ref=base64 Access token
customMsg=string Shout-out message. Uses variables like: {channel},{games},{tile},{url}
themeOption=integer Various pre-made css themes top choose from.
gameTitle=string Filter clips by Game Title. Only play clips from a specific game or category. This must be the exact title that Twitch uses. IE: Fortnite, Retro, DOOM II: Hell on Earth
#text-container {
top: 0;
background: #00008890;
box-shadow: 0 10px #00000090;
max-width: 100%;
padding: 4px 0 8px 0;
border-radius: 25px;
left: -2000px;
animation: slide 1s ease forwards;
}
#details-container {
top: 42vw;
border-radius: 25px;
transform: skew(6deg, -6deg);
margin-left: 0;
background: #00008890;
box-shadow: 10px 10px #00000090;
animation: movein 1s ease forwards, moveout 1s 15s ease forwards;
}
#details-container .details-text.item-0 {
font-size: 3vw;
overflow: hidden;
max-width: 50ch;
text-overflow: ellipsis;
white-space: nowrap;
}
#details-container .details-text.item-1 {
font-size: 2.5vw;
overflow: hidden;
max-width: 100ch;
text-overflow: ellipsis;
white-space: nowrap;
}
#details-container .details-text.item-2 {
font-size: 2vw;
}
#details-container .details-text.item-3 {
font-size: 1.5vw;
}
@keyframes slide {
100% {left: 0;}
}
@keyframes movein {
from { left: -2000px; }
to { left: 0px; }
}
@keyframes moveout {
from { left: 0px; }
to { left: -2000px; }
}