Play Clip
Runs on: Backend.
Plays a Twitch clip as a video alert on a widget on one of your overlays.
Connect a clip URL to Clip URL, or a channel login to Channel to pick a random clip from that channel. When both are connected, Clip URL wins.
Clips queue like other alerts. A clip waits for whatever is on screen, and the next alert waits for the clip.
Choosing where it plays
The Alert dropdown lists every Flow Alert and Clip Alert widget across your overlays as Overlay › Name. The same name on two overlays is two targets. A duplicated overlay is a new target, so pick it deliberately. If the widget is deleted or renamed, the node shows the problem.
The target widget
The easiest target is a Clip Alert widget, which already contains a clip player and a caption. See Clip Alert Widget.
You can also target a Flow Alert Widget and bind a Clip Player widget's URL to {{flowAlert.clip_url}}.
Inputs
| Name | Type | Description |
|---|---|---|
Clip URL | string | A twitch.tv/videos/... or clips.twitch.tv/... URL. When provided, this clip plays. |
Channel | string | A Twitch login name. A random clip from this channel is picked when no Clip URL is connected. |
What the widget receives
These come from the clip itself. You don't wire them.
| Field | Description |
|---|---|
{{flowAlert.clip_url}} | The playable video URL |
{{flowAlert.clip_title}} | The clip's title |
{{flowAlert.clip_broadcaster}} | Who the clip is from |
{{flowAlert.clip_duration}} | Length in seconds |
{{flowAlert.clip_thumbnail}} | Thumbnail image URL |
The alert holds for the clip's length, capped by Max Duration when set.
Configuration
- Alert: The overlay and widget the clip plays on.
- Max duration (seconds): Clips longer than this are cut short. Blank plays the whole clip.
- Featured clips only: Restricts random selection to clips marked featured on Twitch.
Example
A "Play a clip" channel point reward where viewers paste a clip URL. Connect a Channel Point Redeem trigger to Play Clip, wire the redeem's user input to Clip URL and point Alert at a Clip Alert widget on your gameplay overlay.
See Also
- Activate Custom Alert: Send your own fields to a widget
- Flow Event: Fire something immediately, without queueing