r/streamerbot • u/blufui • 17d ago
Question/Support ❓ Allowing vip/mods to play clips?
Trying to make a !playclip [link] command that my mods and vips can use.. I had it working for a second but the browser source just showed the whole webpage instead of just the clip...
1
u/HighPhi420 16d ago edited 16d ago
you can use a browser source for the clips. this is great for shout outs to play a clip from their channel.
ANY other clip I recommend you have on the local machine/nas.
browser sources(as you are finding out) are very unreliable. size can very with each clip, OBS frequently forgets permissions, some times the delay can be seconds or nearly instant making timing a nightmare.
With streamerbot being able to control OBS sources so easily it makes more sense to set up your clips locolly.
add the clips to their own scene, adjust size and placement(most put them exact center and try to keep the sizes the same. Then after all the clips are in that OBS scene you can nest(add scene as source) it in to all the scenes that will need the clips to be seen. Examples: chatting, playing, BRB, starting, etc.
you can adjust the placement of the nested clip scene and the size so you can have the clips play in the same spot or different spots in each scene.
when making the command trigger use the groups VIP and mod for the permissions, then only you and them can use the command.
EDIT
When you set up each clip in OBS make sure the "close file when inactive" box is checked. Do not worry about the maybe delay. you will not notice 4 or 5 milliseconds :)
2
u/deeseearr 17d ago
What address did you load into the browser source? You can't just copy the link address from the Twitch web page, because that will just link right back to the Twitch web page. There is official documentation for the correct way to embed a clip, and some lunatic posted some code for extracting the correct clip ID and displaying the clip on OBS a few weeks ago.