Preview

Tap the button to watch the replay.
About
A button you place on the video. When a viewer taps it, the video jumps to the start frame you set, plays to the end frame at the speed you set (0.25 is quarter speed), repeats that as many times as you set, then plays at the viewer's own speed again from where they were, from the end of the stretch, or from wherever the replay ended.
While the replay runs the button turns to the active colour, its arrow spins and its label changes ("REPLAYING" by default). A second tap stops the replay and returns as set. If the viewer seeks out of the stretch during the replay, the replay stops and they stay where they went.
It needs no other plugin. The stretch is set in frames, so it is exact on a video of any frame rate.
Keep the button on screen for the whole stretch it replays: the replay is run by the button, and a button that is not on screen cannot end it. To replay a moment from a button that appears only after it, use the Replay Controller service plugin and call its Start Replay action.
Events: replayStarted (with the frames, speed and loops) when a replay begins, replayEnded (with where it returned) when it ends or is stopped.
Settings
What a creator can set in the Studio, and what a host can set in its overrides.
Styling
| Setting | Type | Default | What it does |
|---|---|---|---|
Sizesize | One of | medium | How big the button is drawn. |
Accent colouraccentColor | Colour | #00D4FF | Colour of the arrow and the glow before a replay, as #rrggbb. |
Active colouractiveColor | Colour | #FF6B35 | Colour of the arrow and the glow during a replay, as #rrggbb. |
Content
| Setting | Type | Default | What it does |
|---|---|---|---|
Button labellabel | Text | INSTANT REPLAY | Text on the button before and after a replay. |
Label while replayingreplayingLabel | Text | REPLAYING | Text on the button while a replay runs. |
Segment
| Setting | Type | Default | What it does |
|---|---|---|---|
Loopsloops | Number, 1 to 20 | 2 | How many times the stretch plays before the replay ends. |
End frametoFrame | Number, at least 0 | 150 | The frame at which the replayed stretch ends. |
Return toreturnTo | One of | original | Where playback goes when the replay ends: where the viewer was, the end of the stretch, or nowhere (it goes on from where the replay ended). |
Start framefromFrame | Number, at least 0 | 0 | The first frame of the replayed stretch. |
Replay speedplaybackRate | Number, 0.1 to 4 | 0.25 | Speed of the replay; 0.25 is quarter speed, 1 is normal speed. |
Events and actions
Events you can react to
| Event | When it is sent | Data |
|---|---|---|
Replay Endedplugin:mp4e:replay-button:replayEnded | Fired when a replay finishes, is stopped with a second tap, or is cancelled by a seek. |
|
Replay Startedplugin:mp4e:replay-button:replayStarted | Fired when a replay begins. |
|
What it can reach
This plugin asks for nothing: no network, no reading of the video's analysis, no say over what plays.
Versions
- v1.8.0November 26, 2026Current
What changed
The button now replays the frames you set on a video of any frame rate, at the speed you set, and returns to normal speed at the position you chose when the replay ends. A replay no longer starts again by itself after the page is reloaded, and the button no longer writes to the browser console.
- v1.7.3November 26, 2026
What changed
Archived before v1.8.0.
- v1.7.2October 10, 2026
What changed
Snapshot before the isolated-iframe update (v1.7.3).
- v1.7.1February 27, 2026
What changed
Archived version
- v1.7.0February 27, 2026
What changed
Archived version
- v1.6.0February 27, 2026
What changed
Archived version
- v1.5.0February 27, 2026
What changed
Archived version
- v1.4.0February 27, 2026
What changed
Archived version
- v1.3.0February 27, 2026
What changed
Archived version
- v1.2.0February 27, 2026
What changed
Archived version
- v1.1.0February 27, 2026
What changed
Archived version
- v1.0.0February 27, 2026
What changed
Archived version