MP4ERequest access
On the videoBy MP4E

Replay Button

A button on the video that replays a chosen stretch in slow motion, then goes back to where the viewer was.

  • Sends 2 events
  • Start and end frame, speed and number of loops are settings
  • Changes colour and label while the replay runs; a second tap stops it
  • Stops the replay if the viewer seeks away
  • Works on its own, with no other plugin
Version 1.8.0

It opens in the Studio, where you place it on your video.

Preview

Tap the button to watch the replay.

Size

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

Styling
SettingTypeDefaultWhat it does
SizesizeOne of
  • small
  • medium
  • large
mediumHow big the button is drawn.
Accent colouraccentColorColour#00D4FFColour of the arrow and the glow before a replay, as #rrggbb.
Active colouractiveColorColour#FF6B35Colour of the arrow and the glow during a replay, as #rrggbb.

Content

Content
SettingTypeDefaultWhat it does
Button labellabelTextINSTANT REPLAYText on the button before and after a replay.
Label while replayingreplayingLabelTextREPLAYINGText on the button while a replay runs.

Segment

Segment
SettingTypeDefaultWhat it does
LoopsloopsNumber, 1 to 202How many times the stretch plays before the replay ends.
End frametoFrameNumber, at least 0150The frame at which the replayed stretch ends.
Return toreturnToOne of
  • original
  • end
  • none
originalWhere 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 framefromFrameNumber, at least 00The first frame of the replayed stretch.
Replay speedplaybackRateNumber, 0.1 to 40.25Speed of the replay; 0.25 is quarter speed, 1 is normal speed.

Events and actions

Events you can react to

EventWhen it is sentData
Replay Endedplugin:mp4e:replay-button:replayEndedFired when a replay finishes, is stopped with a second tap, or is cancelled by a seek.
  • {{eventData.returnedTo}}original, end or none as set, or cancelled when the viewer sought away
Replay Startedplugin:mp4e:replay-button:replayStartedFired when a replay begins.
  • {{eventData.loops}}How many times the stretch plays
  • {{eventData.toFrame}}Frame at which the stretch ends
  • {{eventData.fromFrame}}First frame of the replayed stretch
  • {{eventData.playbackRate}}Speed of the replay

What it can reach

This plugin asks for nothing: no network, no reading of the video's analysis, no say over what plays.

Versions

  1. 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.

  2. v1.7.3November 26, 2026
    What changed

    Archived before v1.8.0.

  3. v1.7.2October 10, 2026
    What changed

    Snapshot before the isolated-iframe update (v1.7.3).

  4. v1.7.1February 27, 2026
    What changed

    Archived version

  5. v1.7.0February 27, 2026
    What changed

    Archived version

  6. v1.6.0February 27, 2026
    What changed

    Archived version

  7. v1.5.0February 27, 2026
    What changed

    Archived version

  8. v1.4.0February 27, 2026
    What changed

    Archived version

  9. v1.3.0February 27, 2026
    What changed

    Archived version

  10. v1.2.0February 27, 2026
    What changed

    Archived version

  11. v1.1.0February 27, 2026
    What changed

    Archived version

  12. v1.0.0February 27, 2026
    What changed

    Archived version

Replay Button · MP4E Marketplace